Search Unity

Navmesh and navmesh surface

Discussion in 'Navigation' started by hublard, Feb 8, 2020.

  1. hublard

    hublard

    Joined:
    Aug 19, 2015
    Posts:
    79
    Hello there, in my game i got a big map (terrain) for ai i use standard navmesh that i bake it in editor. Then i got a building system. After placing each building part i need to rebake navmesh. So since the map is too big bo rebake it in runtime a added a navmesh surface that bake building parts. It works, in editor i can see that is baked around parts, tje problem is i can still walk trough. When i use teleporter(a warp function ingame) then it switch somehow the navmesh and im no longer able to walk through building parts. But then i can walk through the standard navmesh colliders. It seems that only one works at a time.

    Anyone know how to fix it?