If you change the DataLayerAsset name or asset path, all Actors registered with that DataLayer will ignore that DataLayer's settings. Specifically, even if you set the DataLayer to the Unloaded state, those Actors still exist on the level.
or Standalone and Package, this issue occurs immediately after changing the name/path of DataLayerAsset. In the case of PIE the problem occurs after reopening the WP Level with that DataLayer.
This issue can be resolved by re-saving the affected Actors or removing them from the DataLayer and adding them again.
Probably, when the name/path of the DataLayerAsset is changed, I think that it is necessary to enable the Dirty flag for all actors related to them, or to remap the DataLayerAsset at level run time or cook time. For the latter there may be a hint in AssetNameToInstance in AWorldDataLayers.
expect : same result as 4
result : You can see white cube bacause white box ignore the DataLayer's setting
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-176093 in the post.
1 |
Component | UE - World Creation - Worldbuilding Tools |
---|---|
Affects Versions | 5.1.1, 5.1 |
Target Fix | 5.3 |
Fix Commit | 24261177 |
---|
Created | Feb 5, 2023 |
---|---|
Resolved | Feb 24, 2023 |
Updated | Mar 6, 2023 |