Navmesh Agent is moving alone if changed position

Hello there.

I have a Navmesh agent that boards a platform. (using navmesh links). All works fine until i move the platform.

When the platform starts to move, the agent tries to reach the last position before moving the platform. There is some parameter or somethign to prevent the agent to dont try to reach the last destination once he decided “has arrive”? I mean, once the agent reaces the destination, dont allow him to move (unless i use again the SetDestination() command)

ThankYou!

I had a similar problem and I solved it with _navMeshAgent.ResetPath();