MetaXR Simulator not working in Unreal Engine 5.3

I have added JSON file location. When I click on VR Preview. I get these errors in Output Log:

LogOVRPlugin: Error: InitializePerfMetricsUpdateMask() failed (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4322)
LogOVRPlugin: Display: CompositorOpenXR::Initialize() - succeeded
LogOVRPlugin: Display: OVRPlugin 1.97.0 … initialized
LogOVRPlugin: Error: CreateFoveationProfile() failed: required extensions not enabled: XR_FB_foveation 0 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:10857)
LogOVRPlugin: Error: [xrCreateSession] Failed Expectation: XR_SUCCEEDED(xrRet) (:0)
LogOVRPlugin: Error: [xrCreateSession] Failed Expectation: vkBundle != nullptr (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_RUNTIME_FAILURE]: xrCreateSession(m_xrInstance, &createInfo, &m_xrSession), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5339 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_RUNTIME_FAILURE, cmd xrCreateSession(m_xrInstance, &createInfo, &m_xrSession) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5339)
LogOVRPlugin: Error: [xrCreateReferenceSpace] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5347 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5347)
LogOVRPlugin: Error: [xrCreateReferenceSpace] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5347 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5347)
LogOVRPlugin: Error: [xrCreateReferenceSpace] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5347 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5347)
LogOVRPlugin: Error: [xrCreateActionSpace] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Left]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5367 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
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:5367)
LogOVRPlugin: Error: [xrCreateActionSpace] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Right]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5369 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
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:5369)
LogOVRPlugin: Error: [xrAttachSessionActionSets] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrAttachSessionActionSets(m_xrSession, &attachInfo), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5423 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrAttachSessionActionSets(m_xrSession, &attachInfo) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5423)
LogOVRPlugin: Error: CreateXrHandTracking() failed (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5428)
LogOVRPlugin: Error: [xrEnumerateRenderModelPathsFB] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateRenderModelPathsFB(m_xrSession, pathCount, &pathCount, nullptr), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5440 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: HandleOpenXREvents(): XrEventDataDisplayRefreshRateChangedFB from 0.000000 to 72.000000
LogOVRPlugin: Error: [xrCreateSwapchain] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateSwapchain(m_compositor->m_xrSession, &swapchainCreateInfo, &swapchain), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:131 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
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:131)
LogOVRPlugin: Error: [xrEnumerateSwapchainImages] swapchain should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateSwapchainImages(swapchain, 0, &imageCount, nullptr), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:140 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrEnumerateSwapchainImages(swapchain, 0, &imageCount, nullptr) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:140)
LogOVRPlugin: CompositorOpenXR_D3D12::Layer::Initialize(): CreateSwapchain for eye 0: 0000000000000000, 0 stages
LogOVRPlugin: Error: [xrEnumerateSwapchainImages] swapchain should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateSwapchainImages( swapchain, imageCount, &imageCount, (XrSwapchainImageBaseHeader*)&textureSwapChainImages[0]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:158 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
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:158)
LogHMD: Error: Failed to create Oculus layer texture. NOTE: This causes a leak of 0 other texture(s), which will go unused.
LogOVRPlugin: Error: [xrCreateSession] Failed Expectation: XR_SUCCEEDED(xrRet) (:0)
LogOVRPlugin: Error: [xrCreateSession] Failed Expectation: vkBundle != nullptr (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_RUNTIME_FAILURE]: xrCreateSession(m_xrInstance, &createInfo, &m_xrSession), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5339 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_RUNTIME_FAILURE, cmd xrCreateSession(m_xrInstance, &createInfo, &m_xrSession) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5339)
LogOVRPlugin: Error: [xrCreateReferenceSpace] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5347 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5347)
LogOVRPlugin: Error: [xrCreateReferenceSpace] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5347 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5347)
LogOVRPlugin: Error: [xrCreateReferenceSpace] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5347 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5347)
LogOVRPlugin: Error: [xrCreateActionSpace] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Left]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5367 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
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:5367)
LogOVRPlugin: Error: [xrCreateActionSpace] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Right]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5369 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
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:5369)
LogOVRPlugin: Error: [xrAttachSessionActionSets] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrAttachSessionActionSets(m_xrSession, &attachInfo), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5423 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrAttachSessionActionSets(m_xrSession, &attachInfo) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5423)
LogOVRPlugin: Error: CreateXrHandTracking() failed (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5428)
LogOVRPlugin: Error: [xrEnumerateRenderModelPathsFB] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateRenderModelPathsFB(m_xrSession, pathCount, &pathCount, nullptr), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5440 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: [xrCreateSwapchain] session should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateSwapchain(m_compositor->m_xrSession, &swapchainCreateInfo, &swapchain), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:131 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
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:131)
LogOVRPlugin: Error: [xrEnumerateSwapchainImages] swapchain should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateSwapchainImages(swapchain, 0, &imageCount, nullptr), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:140 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
LogOVRPlugin: Error: OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrEnumerateSwapchainImages(swapchain, 0, &imageCount, nullptr) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:140)
LogOVRPlugin: CompositorOpenXR_D3D12::Layer::Initialize(): CreateSwapchain for eye 0: 0000000000000000, 0 stages
LogOVRPlugin: Error: [xrEnumerateSwapchainImages] swapchain should not be XR_NULL_HANDLE (:0)
LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateSwapchainImages( swapchain, imageCount, &imageCount, (XrSwapchainImageBaseHeader*)&textureSwapChainImages[0]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D12.cpp:158 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:311)
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:158)
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.

I fixed it by downgrading meta xr simulator version from 66 to 65.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.