Description

WP dynamic navmesh does not properly react to actors or navigation modifiers that are loaded in areas that the navmesh has not yet streamed into. Although the actors/modifiers are not part of the base navmesh, they are excluded by the filter in ARecastNavMesh::OnStreamingNavDataAdded since they are already loaded before the navmesh tiles are streamed into the level.

 

This occurs with both Dynamic and Dynamic Modifiers Only navmesh generation modes.

Steps to Reproduce
  1. Create new level with WP streaming enabled
  2. Create dynamic WP navmesh
  3. Create a new BP actor with a Box collision component
    1. Set the Box component to to be a dynamic obstacle and set the area to NavArea_Null
  4. Create a DataLayer asset
    1. Set the Data Layer Type to be Runtime
  5. Add the BP actor to the level
    1. Set the transform to the following values
      1. Location: (X=560.000000,Y=1560.000000,Z=50.000000)
      2. Rotation: (X=0.000000,Y=89.999999,Z=0.000000)
      3. Scale: (X=150.000000,Y=20.000000,Z=20.000000)
  6. Add the BP actor to the DataLayer created
  7. Set the DataLayer Initial Runtime State to Unloaded
  8. In the Level BP, add a delay node for 2 seconds and then set the DataLayer asset to be activated
  9. Add Player Start to map at (X=3510.000000,Y=6000.000000,Z=210.000000)
  10. In the World Settings:
    1. Change the Main Partition grid to use a Loading Range of 2000
    2. Change the Navigation->Navigation Data Chunk Grid Size to 12800
  11. Build WP navmesh
  12. PIE
  13. Wait for 3 seconds so the data layer is activated
  14. Using Gameplay Debugger with Navmesh enabled, move along the length of the box to see where it affects navmesh.

 

Expected Result: The navmesh is missing for the entire length of the Box actor

Actual Result: The navmesh is missing along the Box actor near where the player start, but moving further to load more navmesh tiles, the navmesh does not get affected by the Box's nav modifier.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-249672 in the post.

0
Login to Vote

Unresolved
ComponentUE - AI - Navigation
Affects Versions5.5
Target Fix5.6
CreatedFeb 18, 2025
UpdatedMar 3, 2025
View Jira Issue