Navmesh could not be built if there is any other mesh on the scene

Hi!
This one is really interesting :slight_smile:

I get an error:
image

and obviously no nav agents at all:

but if I comment out the line with the AxesViewer (behaves the same with the box):
image

it’s OK :smiley:

If I move the AxesViewer or the box creation code after the nav mesh was built it works:

image

Am I completely missing something here? :smiley:

Thanks!

R.

2 Likes

Ok, so it seems that the problem is between my chair and my keyboard :smiley:
I’ve to use ImportMeshAsync instead of AppendAsync to load the navmesh. AppendAsync returns the scene as the result and not the loaded asset…

Case closed :slight_smile:

2 Likes