Search Unity

Funny NavMesh Bug

Discussion in 'Navigation' started by Bip901, Jun 25, 2018.

  1. Bip901

    Bip901

    Joined:
    May 18, 2017
    Posts:
    71
    Using the Advanced NavMesh Components, it's possible to bake the NavMeshSurface during runtime. You can choose to bake using either Physics Colliders or Mesh Renderers. Everything works fine when I bake via the editor, but when I use navMeshSurface.BuildNavMesh() during runtime, this happens:

    Baking at runtime using Physics Colliders:

    Baking at runtime using Mesh Renderers:

    (There are no meshes there! Why is that area even baking?)​