Skip to main content
MrJung
New Participant
May 10, 2023
Solved

UE5.1 OVRPlugin Make crash when open command console and stereo layer

my device is quest pro.
when I try to change the level, I can see these errors like below.
even it's not happens always, but very highly percent.
does anyone know that how to fix it?

 

 

[2023.05.10-06.08.42:327][340]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_RUNTIME_FAILURE]: xrEndFrame(m_xrSession, &frameEndInfo), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:6515 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288)
[2023.05.10-06.08.42:327][340]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().EndFrame4 1339 failed (-1006)
[2023.05.10-06.08.42:356][341]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_CALL_ORDER_INVALID]: xrWaitSwapchainImage(swapchain, &waitInfo), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:9087 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288)
[2023.05.10-06.08.42:356][341]LogOVRPlugin: Error: xrWaitSwapchainImage() failed: XR_ERROR_CALL_ORDER_INVALID (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:9090)
[2023.05.10-06.08.42:362][341]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_RUNTIME_FAILURE]: xrEndFrame(m_xrSession, &frameEndInfo), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:6515 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288)
[2023.05.10-06.08.42:362][341]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().EndFrame4 1340 failed (-1006)
[2023.05.10-06.08.42:390][341]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_RUNTIME_FAILURE]: xrBeginFrame(m_xrSession, nullptr), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:6308 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288)
[2023.05.10-06.08.42:390][341]LogOVRPlugin: CompositorOpenXR::BeginFrame() failed: -2
[2023.05.10-06.08.42:390][342]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().BeginFrame4 1341 failed (-1006)
[2023.05.10-06.08.42:397][342]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().EndFrame4 1341 failed (-1000)
[2023.05.10-06.08.45:134][342]SocketIO: SocketIO 9Tedq5gw-foocHS1ABqb disconnected from namespace: /
[2023.05.10-06.09.12:463][342]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_RUNTIME_FAILURE]: xrWaitFrame(m_xrSession, nullptr, &frameState), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:6225 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288)
[2023.05.10-06.09.12:464][342]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().WaitToBeginFrame 1342 failed (-1006)
[2023.05.10-06.09.12:464][342]LogOVRPlugin: Display: Warning : CompositorOpenXR::Update called for frame 1342 outside of frame bounds
[2023.05.10-06.09.12:464][342]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_TIME_INVALID]: xrLocateSpace( m_xrHandSpace[handIndex], m_xrAppSpace, outState.m_xrFrameState.predictedDisplayTime, &spaceLocation), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:4622 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288)
[2023.05.10-06.09.12:464][342]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_TIME_INVALID]: xrLocateSpace( m_xrHandSpace[handIndex], m_xrAppSpace, outState.m_xrFrameState.predictedDisplayTime, &spaceLocation), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:4622 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288)
[2023.05.10-06.09.12:467][342]LogOVRPlugin: CompositorOpenXR::BeginFrame() failed - !m_waitFrameCalled
[2023.05.10-06.09.12:467][342]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().BeginFrame4 1342 failed (-1000)
[2023.05.10-06.09.12:467][342]LogOVRPlugin: Display: Warning : CompositorOpenXR::Update called for frame 1342 outside of frame bounds
[2023.05.10-06.09.12:467][342]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_TIME_INVALID]: xrLocateSpace( m_xrHandSpace[handIndex], m_xrAppSpace, outState.m_xrFrameState.predictedDisplayTime, &spaceLocation), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:4622 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288)
[2023.05.10-06.09.12:468][342]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_TIME_INVALID]: xrLocateSpace( m_xrHandSpace[handIndex], m_xrAppSpace, outState.m_xrFrameState.predictedDisplayTime, &spaceLocation), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:4622 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288)
[2023.05.10-06.09.12:468][343]LogOVRPlugin: HandleOpenXREvents(): XrEventDataInteractionProfileChanged
[2023.05.10-06.09.12:468][343]LogOVRPlugin: Display: [XR_SESSION] XrEventDataSessionStateChanged: state XR_SESSION_STATE_FOCUSED->XR_SESSION_STATE_LOSS_PENDING session=72131501835157505 time=1106325602085300
[2023.05.10-06.09.12:468][343]LogOVRPlugin: [XR_SESSION] ... running 1 visible 1 focused 1
[2023.05.10-06.09.12:468][343]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_SESSION_LOST]: xrWaitFrame(m_xrSession, nullptr, &frameState), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:6225 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288)
[2023.05.10-06.09.12:468][343]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().WaitToBeginFrame 1343 failed (-1000)
[2023.05.10-06.09.12:468][343]LogOVRPlugin: Display: Warning : CompositorOpenXR::Update called for frame 1343 outside of frame bounds
[2023.05.10-06.09.12:468][343]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_TIME_INVALID]: xrLocateSpace( m_xrHandSpace[handIndex], m_xrAppSpace, outState.m_xrFrameState.predictedDisplayTime, &spaceLocation), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:4622 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288)
[2023.05.10-06.09.12:469][343]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_TIME_INVALID]: xrLocateSpace( m_xrHandSpace[handIndex], m_xrAppSpace, outState.m_xrFrameState.predictedDisplayTime, &spaceLocation), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:4622 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288)
[2023.05.10-06.09.12:469][343]LogWindows: FPlatformMisc::RequestExit(0)

 

 

 

This topic has been closed for replies.
MrJung
MrJungAnswer
New Participant
May 17, 2023

check registry under 
HKEY_LOCAL_MACHINE\Software\Khronos\OpenXR\1\ApiLayers\Implicit
and see if anything there isn’t pointing to ProgramFiles.
It works!

4 replies

MrJung
MrJungAuthor
New Participant
May 10, 2023

I found more correct reason!
It's happens when I initialize stereo layer.
In begin play, there's a webview used widget component and stereo layer.
And I guess it's make some problem to rendering pipeline.

MrJung
MrJungAuthor
New Participant
May 16, 2023

Additional guess.
Unreal Command Console and SlateUI doesn't show up in VR.
I Tried changing XR API
Oculus OVRPlugin + OpenXR Backend -> Epic Native OpenXR with Oculus vendor extensions,
And it solved problem. but still when I open the stereo layer, It will make crash.

 

Error: appError called: Assertion failed: ClearValue.ColorBinding == EClearBinding::EColorBound [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Commands.cpp] [Line: 1069]
Texture: XRSwapChainAliasedTexture does not have a color bound for fast clears 


Some guys said It can solve by turn off the motion blur, but it's not helped me.
Anyone who know this?

MrJung
MrJungAuthorAnswer
New Participant
May 17, 2023

check registry under 
HKEY_LOCAL_MACHINE\Software\Khronos\OpenXR\1\ApiLayers\Implicit
and see if anything there isn’t pointing to ProgramFiles.
It works!

New Participant
December 18, 2023

What to do when you are in HKEY_LOCAL_MACHINE\Software\Khronos\OpenXR\1\ApiLayers\Implicit in terms of fixing the problem ? Thanks