Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

NavMeshSurface confusion

Discussion in 'Navigation' started by Fr2, May 30, 2019.

  1. Fr2

    Fr2

    Joined:
    Jan 19, 2013
    Posts:
    39
    Either this is a bug, or I'm misunderstanding how the NavMeshSurface component is supposed to work.

    I have a NavMeshSurface component attached to an empty (in the root of the scene hierarchy) in my project with the following settings:

    navmesh-settings.png

    When I click "bake" the objects which are included in the navmesh depend on the position of the empty. By choosing "all" for Collect Objects drop-down I though that this would include all objects in the scene, unrelated to the position of the object the NavMeshSurface script is attached to.

    Am I missing something?