My NPC keeps rotating on reaching a target location

I am using playmaker and Navmeshes etc to have an NPC walk around, from one target to another target object, in a random patrol.

However, I am having an issue that when the NPC arrives at a location, it switches back to an idle animation. After it does that, instead of just standing in place and playing the animation, it continues to rotate randomly in a twitchy manner around Y - as if it is seeking something. I have no idea why it is doing this. Does anyone have any ideas what is causing this? I am trying to narrow down if it is to do with the navagent settings, mecanim or playmaker…

cheers

Essentially, the middle of the object is far enough from the point you are telling it to get to so it’s trying to find any way to get closer that it can. You can fix this by increasing the “stopping distance” high enough that it’s fine with the distance it’s at, or by simply setting the target location at it’s current location, or just telling the AI to stop ( the isStopped variable) unless it has a new destination.

Just know that if you want it to go back to an exact spot, increasing the stopping distance may prevent it from getting back to that exact same point every time.