Search Unity

Bug NavMesh Surface Baking - No Surface but empty box

Discussion in 'Navigation' started by TheBossaaaa, Mar 27, 2024.

  1. TheBossaaaa

    TheBossaaaa

    Joined:
    Nov 19, 2022
    Posts:
    9
    Unity 2022.3.21f1

    For the first time, I encountered a problem that I couldn't figure out what was going on.

    Background: I have installed the AI Navigation package from the package manager. Added AI NavMesh Surface object to the scene, added NavMesh Agent to the player character, wanted to bake the surface and the result is:

    upload_2024-3-27_14-16-7.png

    upload_2024-3-27_14-20-41.png

    What have I tried:
    1) Restart Unity
    2) Clear and rebake
    3) Check gizmos (untick - retick, toggle gizmos icon)
    4) Create a new scene, add a plane, add navmesh surface, bake
    5) Try in a different already existing Scene, still same
    6) Change layers in the surface object

    I can't figure out what is going on exactly, pls help!
     
  2. TheBossaaaa

    TheBossaaaa

    Joined:
    Nov 19, 2022
    Posts:
    9
    I solved it thx to help from a friend.

    It's because of this:

    upload_2024-3-27_14-58-5.png
     
    Ted_Wikman likes this.