Issues with FollowerEntity and Idle

  • A* version: 5.2.4
  • Unity version: 2022.3.49

Getting this performance issue with some meshes and not others. Not sure what’s happening. I realize it says Particle System but I’ve disabled every other thing on the units, it’s only follower entity that makes any difference. I’m not sure why this takes up significant performance on some mesh, while on another it does not. Same scene. If you’re able to describe a bit about how this works, and why Idle might be flagged, it would help me in debugging and that would be greatly appreciated.

Thanks,
Tyler

Hi

Check the timeline view in the profiler. That will give you a clearer picture of what’s going on.
The WaitForJobGroupID scope only tells you that it’s waiting for something else to do its job.

This change I suggested might be relevant. If it is similar issue you could also just add [UpdateBefore(typeof(AIMovementSystemGroup))] to your custom systems that are waiting on pathfinding jobs instead.

1 Like

Oh wow that’s awesome, really appreciate you linking me to that! Going to investigate.