4

I've attempted to bake a Navigation Mesh in Unity3D on a plane with no success. I haven't had this problem until recently, around the 2020.1 release date. I set the plane to navigation static, walkable, and baked the navigation mesh with the plane selected. A NavMesh object was created. The 'Source Bounds Extent' becomes very small after baking. The navigation mesh does not appear on the screen at all, when normally it should appear in blue. Wondering if anyone else had this problem recently or if there is something I can do to correct it.

enter image description here

Isaac Thompson
  • 75
  • 1
  • 1
  • 7

7 Answers7

12

This is a problem I've had very recently also but I have fixed it by turning on Gizmos. The Navmesh is actually there, but you just cannot see it. Turn on Gizmos (at the top of the scene window) to see the Navmesh fully baked! If the above suggestion does not work, try checking the Walkable layer is on the target object and that the object is static.

9

Try checking the Walkable layer is it static or not, since it must be static

kalucki23
  • 172
  • 4
  • 15
Karam Melad
  • 205
  • 2
  • 9
0

I fixed this problem by duplicating the gameobject I have my tilemaps in.

  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Oct 15 '21 at 05:22
0

you need to disable all other objects in your scene. then bake your active static mesh.

  • 1
    Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Nov 25 '21 at 11:30
0

I also, had the same problem, I put a group of pieces to static mesh, then baked, and it did nothing. So, I tried the save button, then when I tried another group and made it static mesh and hit the bake button it worked.

0

I had exactly the same problem. I noticed that in the same folder as the scene, a new folder with NavMesh had been created but I couldn't see any sign of it in the Scene view. I had to close the Scene Window and re-open it and there was the nav mesh visual.

pkr2000
  • 214
  • 2
  • 11
-1

Try saving a scene before baking. It won't work if there is no scene present.