CRASH on GEOMETRY CACHE: Array index out of bounds: 0 from an array of size 0

Hello I have an app installation running at an amusement park. The game consists of a single persistent level and several sub-levels that get opened based on the users choices. After the playthrough is finished, we call OpenLevel to reopen the persistent level, effectively resetting the game for the next user.

This almost always works, but maybe 3x a day when it tries to reload the level the game crashes with the following error:

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 763] Array index out of bounds: 0 from an array of size 0

The callstack leads me to believe it is related to rendering & the geometry cache:

<CallStack>ECHO_PARK!FGeometryCacheCodecDecodeArguments::FGeometryCacheCodecDecodeArguments()
ECHO_PARK!FGeometryCacheTrackStreamableRenderResource::DecodeMeshData()
ECHO_PARK!FGeometryCacheSceneProxy::FrameUpdate()
ECHO_PARK!FGeometryCacheSceneProxy::GetDynamicMeshElements()
ECHO_PARK!FSceneRenderer::GatherDynamicMeshElements()
ECHO_PARK!FSceneRenderer::ComputeViewVisibility()
ECHO_PARK!FDeferredShadingSceneRenderer::InitViews()
ECHO_PARK!FDeferredShadingSceneRenderer::Render()
ECHO_PARK!FSceneRenderer::RenderThreadEnd()
ECHO_PARK!&lt;lambda_11499aae5c016fa4cdeb77c1659e983a&gt;::operator()()
ECHO_PARK!TBaseStaticDelegateInstance&lt;void __cdecl(wchar_t const * __ptr64,IConsoleObject * __ptr64),FDefaultDelegateUserPolicy,unsigned int &amp; __ptr64&gt;::ExecuteIfSafe()
ECHO_PARK!FNamedTaskThread::ProcessTasksNamedThread()
ECHO_PARK!FNamedTaskThread::ProcessTasksUntilQuit()
ECHO_PARK!RenderingThreadMain()
ECHO_PARK!FRenderingThread::Run()
ECHO_PARK!FRunnableThreadWin::Run()</CallStack>

Any help is appreciated!

Crash Report:
UECC-Windows-83990EE242EC0ED50F729CBDF8EB9A4B_0001.zip (160.3 KB)

Same problem, version 426.
image

Hi there @WHHwxiaop

I’d be happy to take a look into this. I see the screen shot that you provided. Can you pull and post the full crash log for me? I’ll monitor this thread for your response. Thanks!