I'm trying to use Unity NavMesh in a 3D scene. I followed this tutorial:
http://www.adventurecreator.org/tutorials/unity-navigation-pathfindingAt first everything worked as expected. However after I added some more NavMeshSegments and baked again, a couple of problems appeared:
1) A transparent green area didn't show up. (BTW, is there a way to see an earlier baked NavMesh?)
2) The player walks only to locations allowed by the presumably baked NavMesh, but follows a straight path that violates the NavMesh limits.
I'm not sure if these are due to my errors or somehow connected to the NavMesh issues reported recently in other threads on this forum. If so, my apologies for double-posting.
Comments
1) You can use the NavMesh Visibility buttons in the Scene Manager to show/hide the green area. If you re-bake a NavMesh, the old one will be gone.
2) Enable "Gizmos" in your Game window so that you can see the blue Path generated as your Player pathfinds. Does the Path obey the NavMesh? You can view the NavMesh by keeping the Navigation window open - check that they share the same space as the NavMeshSegments.
The known issues with NavMeshes were fixed in v1.49a, so please try the update if you haven't already.