When unloading a level via ULevelStreamingDynamic, if you register a callback for OnLevelUnloaded and then unload the level with SetIsRequestingUnloadAndRemoval, the level appears to be removed from the world's level streaming list before we broadcast the state change. This can be worked around with a two-stage process (use SetShouldBeLoaded(false) and then do the SetIsRequestingUnloadAndRemoval in the OnLevelUnloaded callback) but there's no way to get a callback after the removal in that case.
FYI: [Link Removed] [Link Removed]
See description
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-137710 in the post.
0 |
Component | UE - World Creation - Worldbuilding Tools |
---|---|
Target Fix | 5.6 |
Created | Dec 16, 2021 |
---|---|
Updated | Oct 11, 2024 |