Summary
The AI Navigation Mesh updates correctly if an entity is removed using Entity.RemoveFromParent(). However, if the entity remains and its mesh components ar disabled or the entity is moved to another location, the NavMesh does not update. Navigation continues to treat the original area as blocked (or does not reflect the entity’s new position). This prevents runtime toggling or moving of Scene Graph obstacles while using AI navigation.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
AI
Steps to Reproduce
-
Create a level with AI navigation / NavMesh enabled
-
Add a Scene Graph Entity that blocks navigation
-
At runtime, perform one of the following on the Scene Graph Entity:
3A: Disable all mesh components on the entity or Disable collision on the mesh components.
3B: Move the Scene Graph Entity by keyframed movement.
Expected Result
Navmesh should update so the area becomes walkable (obstacle removed logically).
Observed Result
Navmesh does not update; the old area remains blocked as if collision still exists. The player can walk through but the AI will avoid the obstacle.
Platform(s)
PC (Windows) - Unreal Editor for Fortnite (UEFN)