Search Unity

Failed to create agent because it is not close enough to the NavMesh

Discussion in 'Navigation' started by alicewithalex, Oct 20, 2020.

  1. alicewithalex

    alicewithalex

    Joined:
    Jan 18, 2018
    Posts:
    21
    Hello, I am using NavMeshComponents ( for runtime NavMeshSurface baking) and try to place NavMeshAgent onto it. But "Failed to create agent because it is not close enough to the NavMesh" problem happens every time I procedurally generate level and bake it... I try to find some usefull methods aka "Rebind" - unsuccsessfully :(

    Can anyone help me or give advice? I also search on git for this issue and
    owner(Adrian Țurcanu) dont give solution for it, but give only reason why it may happens with agents :) Also I'll try to connect with him.
    There some pictures to show problem if it is necessary -pivot of agent is perfectly on baked surface :/

    Screenshot_10.png

    Screenshot_9.png
     
  2. alicewithalex

    alicewithalex

    Joined:
    Jan 18, 2018
    Posts:
    21
    Hello there) Can anyone help me?) UP :)