Ue5 Crashes when launching in VR mode for the second time. Array Index out of bounds

Ue5 Crashes when launching in VR mode for the second time. Due to: Array Index out of bounds. Does anyone know why?

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 934]
Rendering thread exception:
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 691]
Array index out of bounds: 0 from an array of size 0

0x00007ff8f5cd4ffc KERNELBASE.dll!UnknownFunction
0x0000001f30f68ae0 UnknownFunction
0x0000001f30f69490 UnknownFunction
0x00007ff86d520c40 UnrealEditor-ApplicationCore.dll!UnknownFunction
0x00000be8db7a3140 UnknownFunction
0x0000008000004000 UnknownFunction

Anyone?

Hey there @bjerken! May I know your specs, engine version, and HMD? By second time, do you mean the packaged version will run once but never again? Or in editor?

Check this post Array Index Out of Bounds - OpenXR crashes when playing VR Preview a second time in both UE 5.1.1 and 5.0.3 - Platform & Builds / XR Development - Epic Developer Community Forums (unrealengine.com)