Search Unity

Question How to have only one navmesh per scene?

Discussion in 'Navigation' started by Buttermilch, Apr 2, 2023.

  1. Buttermilch

    Buttermilch

    Joined:
    Nov 23, 2016
    Posts:
    33
    I'm generating new navmeshes for each levels of my game but when I switch from scene 1 to 2, it keeps the navmesh of the first scene and my agent will only use that. Can anyone explain what's happening or how I can avoid this?

    On this screenshot (from scene 2) you can see the more transparent navmesh from scene 2 and the other one is from level 1.
    upload_2023-4-2_16-57-47.png
     

    Attached Files: