Hi, we are experiencing a crash that seems to happen randomly when streaming in a levels that contains geometry collections.
Has this issue been seen before or would you have any suggestions on how to approach this issue?
Additional info:
The levels are injected into streaming grid during runtime using UWorldPartitionRuntimeHashSet::RegisterWorldAssetStreaming.
Issues does not seem to happen on the server which has streaming disabled.
Not sure if it is relevant we have async physics and fast geo enabled.
So far only managed to reproduce in the packaged build only, but it could be just editor being slower and it seems like it’s some timing related issue.
PendingSpatialOperations_External.PendingData was invalid, but the rest of the variables seem to be sane.
I’ve tested your repro project against the latest UE5.8 Perforce version, and the crash is still being reproduced.
I’ve also searched for a mention of such an issue both here and on the issue tracker website, but found nothing, so I’ve made a JIRA report at: Unreal Engine Issues and Bug Tracker (UE\-358459) (please note that it can take some time to be made publicly accessible).
We don’t provide updates on EPS, but if you would like to track the resolution, check the link for the status.
I was not able to find a workaround, but during my tests, I noticed that disabling Tick Physics Async mitigated the issue. I also read about the console command “p.Chaos.EnableAsyncInitBody”, which is experimental, but setting the flag to false crashed the repro project immediately.
These are all experimental features, and their interaction is still rather fragile.
For now, I recommend avoiding the combination of Async Physics and level streaming.
Hi Rafael, after some time of tinkering, we managed to make a very consistent repro in minimal project that I am attaching. Part was setting up the level loading/unloading, but also parts of our project settings ware required to trigger this crash.
To reproduce this issue load this project (stock 5.6.1), package the project using windows development configuration and run the packaged executable.