I have a scene with buildings and a Nav Mesh Agent. Should all the buildings contain the Nav Mesh Agent obstacle component, or them having colliders and being higher than agents step height is enough for the agent to avoid them at all times?


1 Answer 1


Stay with the collider and the height above the step height.

In the bake tab open the advanced options and change Min Region Area to a higher value and test it until the areas on your obstacles disappear.

Reference: https://docs.unity3d.com/Manual/nav-AdvancedSettings.html

  • \$\begingroup\$ Yeah I noticed their rooftops have walkabke areas :-) what do you mean by layer \$\endgroup\$ Aug 24, 2017 at 9:18
  • \$\begingroup\$ Check out this for layers: docs.unity3d.com/Manual/Layers.html \$\endgroup\$
    – Rafiwui
    Aug 24, 2017 at 9:21
  • \$\begingroup\$ Oh I'm sorry. I am not sure if my approach works. I just realized that there is an other/easier way. I will edit my answer. \$\endgroup\$
    – Rafiwui
    Aug 24, 2017 at 9:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .