Navmesh going through terrain

I have 2 stairs joined together and I noticed that the navmesh is going through them instead of staying on top of them. How can I improve that? I also noticed that there is a navmesh forming under the stairs. Using RecastGraph.


This is expected. The navmesh doesn’t care that much about the y coordinate. The agents will be able to navigate the navmesh just fine anyway (there are some edge cases where it doesn’t work that well, but in your case I think it should be fine).

1 Like