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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Question NavMesh Not Baking at All

Discussion in 'Navigation' started by ryanlafauci00, May 30, 2022.

  1. ryanlafauci00

    ryanlafauci00

    Joined:
    Nov 6, 2021
    Posts:
    4
    Hello,

    I am building a level, and I would like for the AI to be able to walk on the floors at random. I've done this in another level with a baked navmesh, fully functional C# code, and everything like this, and at all works fine. For whatever reason, in this level, it's not working.

    Everything seems proper. All the floors are set to static, they all have Mesh Renderers, Box Colliders, yet baking it seems to do nothing. No errors, no weird glitches, just absolutely nothing. I have ensured that all the objects in question are Navigation Static, the Gizmos are turned on, etc. but no matter what I do, nothing works. It bakes for about 2 seconds and then stops. Any help would be much appreciated, thank you.
     
  2. ryanlafauci00

    ryanlafauci00

    Joined:
    Nov 6, 2021
    Posts:
    4
    I solved the problem. For whatever reason, Unity was glitching. I restarted it, disabled and then re-enabled Gizmos and now I can see the NavMesh. For all users on 2020.3, watch out for this bug.