Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

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:
    30
    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: