Why AIBase cost performance So much

I only have 11 agent in navmesh

Hi

That does indeed seem like quite a lot for only 11 agents. I tried 11 agents in my project and it only takes about 0.75ms (about 25% of your time).
You seem to have deep profiling enabled however. Deep profiling makes the game run a lot slower. Have you tried turning it off?

[Edit] and in the 4.3.10 beta it’s even faster. For 11 agents it only takes 0.5ms to simulate them.

I profiled on mobile, this just disconnect before I take screen shoot。The problem is why Physice.RayCast called from FinalizePosition Cost so much performance.

Hi

You can disable Physics Settings -> Auto Sync Transforms which might make it a bit faster.