- Home /
NavMeshAgents all stop at once
For a game I'm making, I have a series of NavMeshAgents on a generated map that uses 8x8 tiles. To keep navigation simple, I have the NavMeshAgents use the transform positions of the tiles as destinations, rather than random positions that might or might not have a path between the agent's current position.
None of the scripts attached to the objects with a NavMeshAgent affects another NavMeshAgent object. Despite this, sometimes all the NavMeshAgents will hang, and none of them will move. With a bit of prodding in the editor on an agent to get it to move again, they all start moving again.
Does anyone know what might be causing this?
I've run into this too. It is infuriating! It often happens when carving a nav mesh, but sometimes it just happens all by itself when changing destinations of an agent.