- Home /
NavMeshData doesn't connect for separate prefabs.
I'm making a roguelike game that maps are generated from combining different prefab "map tiles"
So for each prefabs I went on adding them as navigation Statics like the pic above(all those valleys and walls are added). And after the map is built, I ran the code NavMeshBuilder.BuildNavMesh();
to bake them.
But somehow some of the navMeshData do not connect....
How do I fix this? or is there any workaround?
It seems like those gameobject somehow was not included in the baking process.
Answer by Yakoto · May 21, 2020 at 02:36 AM
Fixed the problem when I put my buildnavMesh into update call....
Your answer
Follow this Question
Related Questions
NavMeshPath.corners.length is always 0 1 Answer
Generate custom off mesh links in Navmesh bake? 0 Answers
NavMesh issue with spawning players 3 Answers
Navigation Mesh not working in build 0 Answers