How to handle navmesh overlap

Hello,

I have the following issue. When I perform a raycast in the scene in the image below at the top location, I want my navmeshagent to walk to the position most near the intersection. That would be on the upper floor. However the navmeshagent always walks to the same x,z location, but on the lower part of the navmesh instead of the upper, indicated on the screenshot.

Is it possible that the navmesh cannot overlap? And if so, how would I solve this case?

Many thanks in advance,

Alex

11220-navmeshissue.png

I found the answer and it was simple: yes, de navmesh can overlap. And why couldn’t i go upstairs? Because the navmesh was interrupted at the top of the stairs, almost invisble. So thoroughly checking the navmesh for gaps is the message.