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

Question 2021.3.11f LTS, Navmesh stays across multiple scenes, but it should not?

Discussion in 'Navigation' started by Vaupell, Oct 13, 2022.

  1. Vaupell

    Vaupell

    Joined:
    Dec 2, 2013
    Posts:
    302
    I have a experimental scene where i try things out, using unity terrain.
    Baked for AI.

    However when i do
    - Scene change at runtime, the navmesh from the first "stays" in the new scene
    - Load a different or create a new scene, the existing navmesh is still there, even though there is no navmesh stored in the folder for the scene.

    On the screenshot a blank new scene with nothing i just created and loaded.
    Navmesh is still there, even with the folder empty.

    upload_2022-10-13_16-36-25.png

    Nothing is selected in static, normally i would have Navstatic on terrain, but even with nothing it stays.

    upload_2022-10-13_16-37-51.png


    Any ideas how to prevent this? allready tried deleting the folders with navmesh..
     
  2. Vaupell

    Vaupell

    Joined:
    Dec 2, 2013
    Posts:
    302
    Additional i found when i search for Navmesh in the folder, it appears there are "ghost" files, they don't exist and when i try to delete or goto location they are not there..

    Somewhere there must be a cache keeping this data stored?

    upload_2022-10-13_17-8-51.png