Search Unity

Bug SetDestination returns false with no feedback

Discussion in 'Navigation' started by Guedez, Dec 20, 2021.

  1. Guedez

    Guedez

    Joined:
    Jun 1, 2012
    Posts:
    827
    My npcs are trying to reach something that they absolutely should be able to, they walked a long road to get to where they are stuck right now, so there is something specifically about just this very small path that they seem to not be able to get to. Please pay attention that they had been walking normally until they reach this spot, so none of the "set to default humanoid" or other copy paste solutions apply.
    upload_2021-12-20_10-45-34.png

    NavMeshAgent.SetDestination
    simply returns false every frame, for all of these characters, but still works just fine for all others. The only thing in common is that they are all trying to reach here. This happens both in Editor and in Build (screenshot).
    upload_2021-12-20_10-41-9.png
    upload_2021-12-20_10-46-54.png
    There is nothing wrong with the navmesh, and those crop plots do not have collision.
    What do I do? I have no access to source and there is no documentation explaining on why it could ever possibly fail to request a path.