Search Unity

Nav Mesh Obstacle do not work in some gameobject

Discussion in 'Navigation' started by IndieFist, Jul 2, 2019.

  1. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    520
    Hi
    I have some problem with nav mesh obstacle, in this one is not modifying the nav mesh.


    In this one its working fine:


    I do not why, and with navmesh components i have same problem.
     
  2. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    226
    You have to put some GameObjects on certain layers and bake with those layers so it can be seen as an obstacle.
     
    IndieFist likes this.
  3. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    520
    Thank you very much.
    Finally was fixed on restarting unity, i dont know why