Forum Discussion
Mr_Jung
3 years agoExplorer
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)
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
Replies have been turned off for this discussion
- Mr_JungExplorer
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.- Mr_JungExplorer
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?
- Mr_JungExplorer
check registry under
HKEY_LOCAL_MACHINE\Software\Khronos\OpenXR\1\ApiLayers\Implicit
and see if anything there isn’t pointing to ProgramFiles.
It works! - martinmensoHonored Guest
What to do when you are in HKEY_LOCAL_MACHINE\Software\Khronos\OpenXR\1\ApiLayers\Implicit in terms of fixing the problem ? Thanks
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 months ago