NavMesh - Discord Import

I encounter the same issue on unity in the sample scene, and it works without any problems there. I’m not sure if that has anything to do with it.

by user 691445074055397447

Hey :wave: That’s unexpected. We’ve improved the sample further more. Please pull the latest commit on the navmesh branch. I hope the update fixes your problem :slight_smile:

The only thing you need to do is to have the Navmesh component in your scene. Also the mesh is no longer a part of the scene directly. So, you can delete whatever you have under the object with the Navmesh component.

Here’s a demo: https://engine.needle.tools/samples-uploads/navmesh/

Here is the relevant code for exporting the navmesh as a mesh to be used at runtime: needle-engine-samples/package/Runtime/Navmesh/Scripts/Needle.Navmesh.codegen/Navmesh.cs at a450b474133680339d1140d3830e3fd7000c6807 · needle-tools/needle-engine-samples · GitHub

Ok, ok, perfect. Really, thank you very much for the help. You guys rock!

by user 691445074055397447

Lets us know if you would have further questions :slight_smile: What are you working on btw?

thanks, I’m trying to make an fps in VR but mostly to learn needles, typescript and unity !

by user 691445074055397447

I am using the sample you made of the range shot , it has helped me a lot

by user 691445074055397447