Forum rules - please read before posting.

Unity NavMesh navigation doesn't behave as expected.

I'm trying to use Unity NavMesh in a 3D scene. I followed this tutorial:
http://www.adventurecreator.org/tutorials/unity-navigation-pathfinding

At 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

  • I will need to see screenshots to help properly.

    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.
  • Chris, thank you for your advice. It really helped. I think my NavMesh is working fine now. I should have used the "Clear" button next to "Bake" in the Navigation window.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.