Navigation generating only on one navmesh tile?
Im having issues using the navmesh while procedurally generating my levels.
On begin play I spawn a bunch of static meshes via blueprint then force a navigation rebuild when everything is created, however even when the navmesh volume contains fully all the objects the navigations only gets build for one of the navmesh tiles as shown here:
If I change the RecastNavMesh tile size to be bigger the generated navigation area is also bigger but still just one navmesh tile:
If I place the meshes manually everything works as expected, is there something Im missing or is this a bug?
By default, the Navigation Mesh is set to Static, meaning it will not update with changes to your level. If you are dynamically shifting your level during Play, you'll want to make sure the NavMesh can adjust with it.
To do this, go to Project Settings > Navigation Mesh and change the Runtime Generation method from Static to Dynamic or Dynamic Modifiers Only, and the navmesh should update with changes to the level with its bounds.
Note that the NavMeshBoundsVolume must encompass everything in the level that you would like the navmesh to appear on.
Hope that helps! Let us know if you have any questions.
answered Oct 27 '15 at 07:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here