AIPath performance issue with many agents


I’m using A* Pro 4.3.59 with a grid graph. I’m currently having ca. 350 agents in the scene with AIPath, SimpleSmoothModifier, Rigidbody and AlternativePathModifier. If I disable them, I get twice as many FPS. I’ve already checked the optimization page in the docs, but these tips didn’t help me.

I’ve read in another thread that several hundreds agents shouldn’t be a major performance issue. Do you have any ideas what I could try to improve the performance?

Here is the Unity Profiler output:

I think the biggest issue here are the rigidbodies, not the actual pathfinding.