Hello,
We are trying to upgrade our project to 5.6.1. Unfortunately, we are experiencing crashes in NaniteStreamingManager L: 2985. The PageIndex goes out of bounds for Resources.PageStreamingStates. See attached Call stack.
Since the crashes are reliable but occur at inconsistent times, I will simply list here what we have found so far.
- Crashes mostly during loading phases (teleporting around the world, streaming assets in and out) I reckon it could crash when normally traversing the level but during loading screens there is more streaming going on.
- The time of the crash is inconsistent. May be the first loading screen or the second or the third. But I also had cases where the game would run for quite some time without crash.
- When attached with the debugger from Resources.ResourceName an asset path can be retrieved. That seems to be any Static mesh. I have not found any regularities.
- Running the game with -onethread also crashes. (I thought I’d test it since the “FStreamingManager::AsyncUpdate” implies that it’s a multithreading thing.)
- It crashes in build, and it crashes when started from VS with the “-game” Launch param.
- PIE did not crash for me (yet)
- Since this is a live project our Sentry-Crash-Reporter has tracked some rare events where the live version (running on 5.4.4) has also crashed at this line. But in 5.6.1 it crashes every time.
We have found that the Page index is already Invalid inside the AddPendingGPURequests function right before the Request is added at Line 2961.
Maybe you have an idea what we can try, or where we can continue debugging. Any hints are welcome.
Regards,
Dominik