AI's turning around on low fps and high time scale

Hi,

I am using Astar on my tavern/inn management game, where my AI’s walking around, bringing some stuff to customers etc. I have a problem that occurs when low fps(20-25) and high time scale (x4). Even I pause the game and play again, the problem is solved. The problem is my AIPath agents are walking in circlular and stuck there.

AIPath:

Pathfinder:

Are there any suggestions?

Hi

Likely the agents do not get within their desired pick next waypoint distance. You can try to raise it. Alternatively you can try to use the beta and switch to the FollowerEntity movement script, which behaves a lot more robustly when using high time scales (it simulates the agent multiple times per frame).