Performance improvement

This is my profiler. Is there any optimization that can be done? AstarPath update() takes about 30% of performance cost

Hello Sabhari, you nee to provide way more information, what GraphType, how many entities, frequency of updates to the paths, version of unity and AStar etc

Hi, sorry. this is unity 6.1 and pathfinding 5.3.8. Im using a*path and about 30 follower entity agents. They do have update loop but its only called when they are moving. I change path only once but that doesnt happen in update loop.

I think you may want to enable Deep Profiling to see what’s being called so much. This isn’t normal with only 30 follower entities.