Using NavMesh with Tiled Landscapes or large Landscapes
I've been trying to use navmesh with tiled landscapes. However, when a new map (with tiled landscape) gets loaded, navmesh doesn't get built on it, UE4 builds it on top of the first loaded tiled landscape. In essence, the first tile gets multiple navmesh layers built on it.
Edit: Just to clarify, not trying to stream in navmeshes (that is not possible as of now, right?), but trying to build them as new levels load, on runtime.
Is there any way of using navmesh with tiled landscapes? What is the preffered workflow here?
Another question is the use of navmesh on large landscapes (8k x 8k). I tried to use it, but seems very crashy when working with large areas. Is it better to use a single large bounds volume for the whole playable area, or is it better to use multiple smaller bound volumes?
I've had this problem as well. It seems that if you're using streaming levels and the project isn't set to rebuild navmeshes during runtime then you can end up with all the levels' navmeshes on top of each other instead of correctly offset as Chariots mentioned.
I enabled rebuilding and thought it still wasn't working until I looked in the properties for the RecastNavMesh object generated when building nav meshes and saw that the Rebuild at Runtime check box was still unticked! It seems that the project settings don't update existing things very well. Checking Rebuild at Runtime in the RecastNavMesh then resolved the issue.
After I had changed the project settings any new RecastNavMeshes were fine.
answered Dec 04 '14 at 10:27 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here