cancel
Showing results for 
Search instead for 
Did you mean: 

Quest 2 not initializing in UE 5.3.2

PDubulous
Protege

I have UE 5.3.2, the Meta XR Plugin v60, the Oculus App (No Dev Hub) running, the headset in dev mode and I've tried both the Oculus cable and AirLink.  The headset it showing up in Unreal, and all the OpenXR plugins are disabled.  I have the Meta XR plugin in the engine plugins folder.  So I think its all good.  

However, Unreal doesnt seem to be pinging the headset when I try to launch in preview mode.  and I get the following start up errors:

 

LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_FORM_FACTOR_UNAVAILABLE]: xrGetSystem(instance, &systemGetInfo, &systemId), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:2086 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogClass: Error: EnumProperty FOculusXRFaceState::DataSource is not initialized properly even though its struct probably has a custom default constructor. Module:OculusXRMovement File:Public/OculusXRMovementTypes.h
LogAutomationTest: Error: UObject.Class AttemptToFindUninitializedScriptStructMembers will be marked as failing due to errors being logged
LogAutomationTest: Error: LogClass: EnumProperty FOculusXRFaceState::DataSource is not initialized properly even though its struct probably has a custom default constructor. Module:OculusXRMovement File:Public/OculusXRMovementTypes.h
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_FORM_FACTOR_UNAVAILABLE]: xrGetSystem(instance, &systemGetInfo, &systemId), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:2086 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_FORM_FACTOR_UNAVAILABLE]: xrGetSystem(instance, &systemGetInfo, &systemId), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:2086 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)

 

Then on VR Preview I get this mess:

 

LogOVRPlugin: Display: OVRPlugin 1.92.0 ... initialized
LogOVRPlugin: Error: CreateFoveationProfile() failed: required extensions not enabled: XR_FB_foveation 0 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:9561)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_GRAPHICS_DEVICE_INVALID]: xrCreateSession(m_xrInstance, &createInfo, &m_xrSession), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4574 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_GRAPHICS_DEVICE_INVALID, cmd xrCreateSession(m_xrInstance, &createInfo, &m_xrSession) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4574)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4582 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4582)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4582 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4582)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4582 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4582)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Left]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4602 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Left]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4602)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Right]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4604 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Right]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4604)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace( m_xrSession, &detachedControllersActionSpaceCreateInfo, &m_xrDetachedControllerSpace[ovrpHand_Left]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4613 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace( m_xrSession, &detachedControllersActionSpaceCreateInfo, &m_xrDetachedControllerSpace[ovrpHand_Left]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4613)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace( m_xrSession, &detachedControllersActionSpaceCreateInfo, &m_xrDetachedControllerSpace[ovrpHand_Right]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4616 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace( m_xrSession, &detachedControllersActionSpaceCreateInfo, &m_xrDetachedControllerSpace[ovrpHand_Right]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4616)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrAttachSessionActionSets(m_xrSession, &attachInfo), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4657 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrAttachSessionActionSets(m_xrSession, &attachInfo) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4657)
LogOVRPlugin: Error: CreateXrHandTracking() failed (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4662)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateRenderModelPathsFB(m_xrSession, pathCount, &pathCount, nullptr), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4674 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrSetPerformanceMetricsStateMETA(m_xrSession, &perfMetricsState), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4688 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: xrSetPerformanceMetricsStateMETA() failed (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4689)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrGetVisibilityMaskKHR(m_xrSession, viewType, (uint32_t)eyeId, maskType, &maskDesc), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:10516 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: Error -1000 returns from GetViewportStencil when querying size (arvr\projects\integrations\OVRPlugin\Src\Util\Compositor.cpp:830)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrGetVisibilityMaskKHR(m_xrSession, viewType, (uint32_t)eyeId, maskType, &maskDesc), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:10516 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: Error -1000 returns from GetViewportStencil when querying size (arvr\projects\integrations\OVRPlugin\Src\Util\Compositor.cpp:830)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateSwapchain(m_compositor->m_xrSession, &swapchainCreateInfo, &swapchain), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:128 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateSwapchain(m_compositor->m_xrSession, &swapchainCreateInfo, &swapchain) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:128)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateSwapchainImages(swapchain, 0, &imageCount, nullptr), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:137 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrEnumerateSwapchainImages(swapchain, 0, &imageCount, nullptr) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:137)
LogOVRPlugin: CompositorOpenXR_D3D12::Layer::Initialize(): CreateSwapchain for eye 0: 0000000000000000, 0 stages
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateSwapchainImages( swapchain, imageCount, &imageCount, (XrSwapchainImageBaseHeader*)&textureSwapChainImages[0]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:155 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrEnumerateSwapchainImages( swapchain, imageCount, &imageCount, (XrSwapchainImageBaseHeader*)&textureSwapChainImages[0]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:155)
LogHMD: Error: Failed to create Oculus layer texture. NOTE: This causes a leak of 0 other texture(s), which will go unused.
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_GRAPHICS_DEVICE_INVALID]: xrCreateSession(m_xrInstance, &createInfo, &m_xrSession), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4574 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_GRAPHICS_DEVICE_INVALID, cmd xrCreateSession(m_xrInstance, &createInfo, &m_xrSession) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4574)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4582 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4582)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4582 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4582)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4582 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4582)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Left]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4602 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Left]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4602)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Right]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4604 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Right]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4604)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace( m_xrSession, &detachedControllersActionSpaceCreateInfo, &m_xrDetachedControllerSpace[ovrpHand_Left]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4613 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace( m_xrSession, &detachedControllersActionSpaceCreateInfo, &m_xrDetachedControllerSpace[ovrpHand_Left]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4613)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace( m_xrSession, &detachedControllersActionSpaceCreateInfo, &m_xrDetachedControllerSpace[ovrpHand_Right]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4616 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace( m_xrSession, &detachedControllersActionSpaceCreateInfo, &m_xrDetachedControllerSpace[ovrpHand_Right]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4616)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrAttachSessionActionSets(m_xrSession, &attachInfo), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4657 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrAttachSessionActionSets(m_xrSession, &attachInfo) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4657)
LogOVRPlugin: Error: CreateXrHandTracking() failed (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4662)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateRenderModelPathsFB(m_xrSession, pathCount, &pathCount, nullptr), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4674 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrSetPerformanceMetricsStateMETA(m_xrSession, &perfMetricsState), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4688 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: xrSetPerformanceMetricsStateMETA() failed (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4689)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrGetVisibilityMaskKHR(m_xrSession, viewType, (uint32_t)eyeId, maskType, &maskDesc), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:10516 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: Error -1000 returns from GetViewportStencil when querying size (arvr\projects\integrations\OVRPlugin\Src\Util\Compositor.cpp:830)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrGetVisibilityMaskKHR(m_xrSession, viewType, (uint32_t)eyeId, maskType, &maskDesc), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:10516 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: Error -1000 returns from GetViewportStencil when querying size (arvr\projects\integrations\OVRPlugin\Src\Util\Compositor.cpp:830)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateSwapchain(m_compositor->m_xrSession, &swapchainCreateInfo, &swapchain), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:128 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateSwapchain(m_compositor->m_xrSession, &swapchainCreateInfo, &swapchain) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:128)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateSwapchainImages(swapchain, 0, &imageCount, nullptr), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:137 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrEnumerateSwapchainImages(swapchain, 0, &imageCount, nullptr) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:137)
LogOVRPlugin: CompositorOpenXR_D3D12::Layer::Initialize(): CreateSwapchain for eye 0: 0000000000000000, 0 stages
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateSwapchainImages( swapchain, imageCount, &imageCount, (XrSwapchainImageBaseHeader*)&textureSwapChainImages[0]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:155 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrEnumerateSwapchainImages( swapchain, imageCount, &imageCount, (XrSwapchainImageBaseHeader*)&textureSwapChainImages[0]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:155)
LogHMD: Error: Failed to create Oculus layer texture. NOTE: This causes a leak of 0 other texture(s), which will go unused.
LogHMD: Error: Failed to create eye layer swap chain.
LogOVRPlugin: CompositorOpenXR::~CompositorOpenXR()
LogOVRPlugin: m_xrInstance destroyed

 

This was working on the initial 5.3 plugin, so I'm not sure what's going on.  I'm running pure PC VR, so there is no Android Studio involved.  And I've always worked that way since UE4.

 

Any help would be greatly appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions

PDubulous
Protege

Turns out I just needed to update my system drivers.  I uninstalled and reinstalled my USB Host Controller as well and bam, it's all working again.  Lumen and Nanite goodness in an open world VR playground.

View solution in original post

4 REPLIES 4

PDubulous
Protege

Turns out I just needed to update my system drivers.  I uninstalled and reinstalled my USB Host Controller as well and bam, it's all working again.  Lumen and Nanite goodness in an open world VR playground.

cookiejar2
Explorer

Could you please elaborater on the "I uninstalled and reinstalled my USB Host Controller" part? What exactly did you do there? (I'm also getting the "EnumProperty FOculusXRFaceState::DataSource is not initialized properly  ..." error) when trying to migrate a perfectly fine 4.27.2 project to 5.3.0 (oculus src-build).

Sure thing cookiejar.  

Quest 2 suddenly stopped recognize USB-3 : r/OculusQuest (reddit.com)

If you go down to the oculus support response, you'll see a long post about USB3 not working.  The Oculus app said mine was good to go, but it was never connecting properly to Unreal.  That was on a completely fresh install and reset machine and Quest.

And I wasnt even doing any Android stuff.  Purely PCVR.

I ended up going into my device manger and going to the USB section and you'll see the image below.  that solved it for me.  I see people saying you need to have the device linked at certain times and a whole mess of stuff. All you really need for PCVR is the device linked, the Oculus App running on your PC, and the Meta XR plugin activated in UE (5.3) (with no OpenXR plugins activated).  You can even relink everything after you've started Unreal, though it will get super choppy if you start the Oculus Link after you've hit VR Preview.

The only error I get in the UE Output Log right now is a Foveation Profile Error.  It doesn't seem to affect anything though.

 

Good luck!

 

PDubulous_0-1703180238293.png

 

PDubulous
Protege

Oh, I also went to my motherboard website and made sure my drivers were all good.  I'm pretty sure the method above was the key though.

 

Super frustrating.