Search Unity

Agents getting stuck on the navmesh

Discussion in 'Navigation' started by fleacoco, Jul 19, 2019.

  1. fleacoco

    fleacoco

    Joined:
    Mar 6, 2019
    Posts:
    5
    Hi!
    I'm encountering an issue with NavMesh in my game. In their "standard" state enemies are supposed to go from a random tile to the other. But, as you can see in the gif, they sometimes get blocked in a random corner. They will leave the corner only if they hear the player (which updated their target). Also, this problem seems to be happening mainly once some of the obstacles have been destroyed (each obstacle has a navmesh obstacle component whith carving activated).

    Thanks in advance for any help !
     
  2. fleacoco

    fleacoco

    Joined:
    Mar 6, 2019
    Posts:
    5
    Here's the gif :
     
  3. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    Your gifs keep 404-ing here. You can directly upload it to the forum here.