So as stated in the title, my dynamic navmesh is not updating properly when my procedural mesh component changes. When I first generate my procedural mesh shape on begin play, the navmesh does generate properly. However, when I change the mesh data at runtime, the navmesh does not update, even when it is set to dynamic.
I am not sure if providing any of my code would be useful, as this seems to be a bug to me. Does anyone know how to fix this, or perhaps have a work around to this problem? Thanks!
As you can see the navmesh originally generates fine on the cave. The cave is the procedural mesh component. As soon as I update the procedural mesh, the navmesh does not regenerate on the new geometry even though it has been set to dynamic
It could be due to the navmesh settings. Perhaps the cell size generation for the navmesh is to large and it doesn’t find adequate space to generate the segments.
This does not work. This issue is specifically with procedural meshes. It all works fine when initially generating the mesh. Even when I spawn new cave actors during runtime it generates the navmesh fine. The issue is when I use “CreateMeshSection” a second time on one actor, the navmesh does not update to reflect the changes in the procedural mesh