Hello everybody!!! I hope you can help me with this annoying crash that is causing to break all the user experience!
I am using a Quest 2 headset, and in my project, I noticed that the game crashes when you start it without wearing the headset, but seconds later, you put it on. It also crashes with the same assert if I play as usual, but if I remove my headset, I wait until standby mode, and after returning from standby mode, it crashes again!
Is only happening in builds, not in editor. This makes it more difficult to debug, attaching VS to the process, handles the error but no debug info is provided.
Here is the assert box :
Here is the log output :
[2022.08.10-12.10.14:858][127]Message dialog closed, result: Ok, title: The UE4-Test Game has crashed and will close, text: Assertion failed: PipelineState.FrameState.predictedDisplayTime [File:D:/Build/++UE4/Sync/Engine/Plugins/Runtime/OpenXR/Source/OpenXRHMD/Private/OpenXRHMD.cpp] [Line: 2514]
[2022.08.10-12.10.14:858][127]LogOutputDevice: Warning:
Script Stack (0 frames):
[2022.08.10-12.10.14:858][127]LogWindows: Error: Error reentered: Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp] [Line: 902]
Rendering thread exception:
Assertion failed: PipelineState.FrameState.predictedDisplayTime [File:D:/Build/++UE4/Sync/Engine/Plugins/Runtime/OpenXR/Source/OpenXRHMD/Private/OpenXRHMD.cpp] [Line: 2514]
0x00007ff830ef4fd9 KERNELBASE.dll!UnknownFunction []
0x00007ff77bf8a8f6 Test.exe!ReportAssert() []
0x00007ff77bf8e7c8 Test.exe!FWindowsErrorOutputDevice::Serialize() []
0x00007ff77bce647d Test.exe!FOutputDevice::LogfImpl() []
0x00007ff77bc49b25 Test.exe!FDebug::AssertFailed() []
0x00007ff77bc4b1a0 Test.exe!FDebug::CheckVerifyFailedImpl() []
0x00007ff779dc343f Test.exe!FOpenXRHMD::LocateViews() []
0x00007ff779dc5c63 Test.exe!FOpenXRHMD::OnBeginRendering_RenderThread() []
0x00007ff77e3273bb Test.exe!FDefaultXRCamera::PreRenderViewFamily_RenderThread() []
0x00007ff77d50e6e6 Test.exe!FViewInfo::VerifyMembersChecks() []
0x00007ff77d4e6296 Test.exe!FSceneRenderer::DoOcclusionQueries() []
0x00007ff77d4ea520 Test.exe!TBaseStaticDelegateInstance<void __cdecl(wchar_t const * __ptr64,IConsoleObject * __ptr64),FDefaultDelegateUserPolicy,unsigned int & __ptr64>::ExecuteIfSafe() []
0x00007ff77ba8ff7b Test.exe!FNamedTaskThread::ProcessTasksNamedThread() []
0x00007ff77ba903de Test.exe!FNamedTaskThread::ProcessTasksUntilQuit() []
0x00007ff77e7874a9 Test.exe!RenderingThreadMain() []
0x00007ff77e78c3a9 Test.exe!FRenderingThread::Run() []
0x00007ff77bfab44f Test.exe!FRunnableThreadWin::Run() []
0x00007ff77bfa1960 Test.exe!FRunnableThreadWin::GuardedRun() []
0x00007ff8328d7034 KERNEL32.DLL!UnknownFunction []
0x00007ff8334a2651 ntdll.dll!UnknownFunction []
Has anyone experience this crash? Or have any idea what can be causing it and how to solve it?
Als, tips or suggestions about how to tackle this are also welcome!!
Thanks in advance!