I’m trying to create a destructible wall that can also be repaired, so it need to be able to enable/disable collision. When it is completely destroyed I set the Collision Preset of it’s Box Component to “NoCollision”, and when it’s repaired to “BlockAll”.
I can check with my player character that the collision of the box is changing because I can move through it when the collision is disabled and can’t move it’s enabled.
The problem is that the navmesh does not appear to be rebuilding at runtime, because the NPC AI characters still can’t move through it when it is destroyed.
I have “Build Navigation At Runtime” enabled in Project Settings → Navigation Settings, “Rebuild at Runtime” is enabled in the RecastNavMesh of my map.
I tried using the Console Command “RebuildNavigation” that I read about in other questions:
I don’t know what else to try.