03-22-2025 08:35 PM
I have tried from SDK Version V71 to V74.
I have tried reinstalling Nvidia Drivers
I have installed Vulkan SDK
I have Tried in Unity 2022.2.50f1 and Unity 6000.0.42f1
I have tried OculusXR Plugin and OpenXR plugin.
I have tried MetaXR simulator with Godot it was working.
I tried setting the path metaxrsimulator json directly in regedit. As it was not able to do it. But still it didn't work.
When I use Oculus XR plugin these are the errors which I am getting.
[Meta XR Simulator][00000.930038][I][arvr\projects\openxr_simulator\src\rendering\sim_vulkan_helpers.cpp:626] Initialize Volk
[Meta XR Simulator][00001.037068][E][arvr\projects\openxr_simulator\src\rendering\sim_vulkan_helpers.cpp:410] Failed Expectation: XR_SUCCEEDED(xrRet)
[OVRPlugin][ERROR] [xrCreateSession] Failed Expectation: XR_SUCCEEDED(xrRet) (<OPENXR>:0)[Meta XR Simulator][00001.037348][E][arvr\projects\openxr_simulator\src\sim_xrapilayer_rendering_d3d11_on_vulkan.cpp:172] Met Expectation: vkBundle == nullptr
[OVRPlugin][ERROR] [xrCreateSession] Met Expectation: vkBundle == nullptr (<OPENXR>:0)[Meta XR Simulator][00001.037544][I][arvr\projects\openxr_simulator\src\telemetry\sim_xrapilayer_telemetry.cpp:72] hooking the window function
[OVRPlugin][ERROR] [XRCMD][failure] [XR_ERROR_RUNTIME_FAILURE]: xrCreateSession(m_xrInstance, &createInfo, &m_xrSession), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6301 (arvr\projects\integrations\OVRPlugin\Src\Util/CompositorOpenXR.h:342)[OVRPlugin][ERROR] OpenXR error: XR_ERROR_RUNTIME_FAILURE, cmd xrCreateSession(m_xrInstance, &createInfo, &m_xrSession) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6301)[Meta XR Simulator][00001.038473][E][V][arvr\projects\openxr_simulator\src\sim_xrapilayer_core.cpp:360] session should not be XR_NULL_HANDLE
[OVRPlugin][ERROR] [xrCreateReferenceSpace] session should not be XR_NULL_HANDLE (<OPENXR>:0)[OVRPlugin][ERROR] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6309 (arvr\projects\integrations\OVRPlugin\Src\Util/CompositorOpenXR.h:342)[OVRPlugin][ERROR] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6309)[Meta XR Simulator][00001.039626][E][V][arvr\projects\openxr_simulator\src\sim_xrapilayer_core.cpp:360] session should not be XR_NULL_HANDLE
[OVRPlugin][ERROR] [xrCreateReferenceSpace] session should not be XR_NULL_HANDLE (<OPENXR>:0)[OVRPlugin][ERROR] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6309 (arvr\projects\integrations\OVRPlugin\Src\Util/CompositorOpenXR.h:342)[OVRPlugin][ERROR] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6309)[Meta XR Simulator][00001.040773][E][V][arvr\projects\openxr_simulator\src\sim_xrapilayer_core.cpp:360] session should not be XR_NULL_HANDLE
[OVRPlugin][ERROR] [xrCreateReferenceSpace] session should not be XR_NULL_HANDLE (<OPENXR>:0)[OVRPlugin][ERROR] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6309 (arvr\projects\integrations\OVRPlugin\Src\Util/CompositorOpenXR.h:342)[OVRPlugin][ERROR] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6309)[Meta XR Simulator][00001.041909][E][V][arvr\projects\openxr_simulator\src\sim_xrapilayer_core.cpp:360] session should not be XR_NULL_HANDLE
[OVRPlugin][ERROR] [xrCreateReferenceSpace] session should not be XR_NULL_HANDLE (<OPENXR>:0)[OVRPlugin][ERROR] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6309 (arvr\projects\integrations\OVRPlugin\Src\Util/CompositorOpenXR.h:342)[OVRPlugin][ERROR] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6309)[Meta XR Simulator][00001.043055][E][V][arvr\projects\openxr_simulator\src\sim_xrapilayer_core.cpp:392] session should not be XR_NULL_HANDLE
[OVRPlugin][ERROR] [xrCreateActionSpace] session should not be XR_NULL_HANDLE (<OPENXR>:0)[OVRPlugin][ERROR] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Left]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6340 (arvr\projects\integrations\OVRPlugin\Src\Util/CompositorOpenXR.h:342)[OVRPlugin][ERROR] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Left]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6340)[Meta XR Simulator][00001.044307][E][V][arvr\projects\openxr_simulator\src\sim_xrapilayer_core.cpp:392] session should not be XR_NULL_HANDLE
[OVRPlugin][ERROR] [xrCreateActionSpace] session should not be XR_NULL_HANDLE (<OPENXR>:0)[OVRPlugin][ERROR] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Right]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6342 (arvr\projects\integrations\OVRPlugin\Src\Util/CompositorOpenXR.h:342)[OVRPlugin][ERROR] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Right]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6342)[Meta XR Simulator][00001.045648][E][V][arvr\projects\openxr_simulator\src\sim_xrapilayer_input.cpp:237] session should not be XR_NULL_HANDLE
[OVRPlugin][ERROR] [xrAttachSessionActionSets] session should not be XR_NULL_HANDLE (<OPENXR>:0)[OVRPlugin][ERROR] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrAttachSessionActionSets(m_xrSession, &attachInfo), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6385 (arvr\projects\integrations\OVRPlugin\Src\Util/CompositorOpenXR.h:342)[OVRPlugin][ERROR] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrAttachSessionActionSets(m_xrSession, &attachInfo) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6385)[OVRPlugin][ERROR] CreateXrHandTracking() failed (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6390)[Meta XR Simulator][00001.047099][E][V][arvr\projects\openxr_simulator\src\sim_xrapilayer_fb_render_model.cpp:34] session should not be XR_NULL_HANDLE
[OVRPlugin][ERROR] [xrEnumerateRenderModelPathsFB] session should not be XR_NULL_HANDLE (<OPENXR>:0)[OVRPlugin][ERROR] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateRenderModelPathsFB(m_xrSession, pathCount, &pathCount, nullptr), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6402 (arvr\projects\integrations\OVRPlugin\Src\Util/CompositorOpenXR.h:342)[OVRPlugin][INFO] [InitializePerfMetricsUpdateMask] m_XR_META_performance_metrics extension is not available[OVRPlugin][ERROR] InitializePerfMetricsUpdateMask() failed (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:5016)[OVRPlugin][INFO] CompositorOpenXR::Initialize() - succeeded[OVRPlugin][INFO] OVRPlugin 1.106.0 ... initialized[Subsystems] Loading plugin OculusXRPlugin for subsystem oculus input...
[XR] Oculus XR Plugin Display Start
[XR] XR ETFR Supported:0
[XR] Unity will render to eye texture(s) of format: Texture Array
[XR] The Oculus eye layer has texture(s) of format: Texture Array
[OVRPlugin][ERROR] [GetBoundaryGeometry] isSessionRunning == false (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:14768)Unity v6000.0.42f1, Oculus Utilities v1.106.0, OVRPlugin v1.106.0, SDK v1.1.42.
UnityEngine.Debug:ExtractStackTraceNoAlloc (byte*,int,string)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
OVRManager:InitOVRManager () (at ./Library/PackageCache/com.meta.xr.sdk.core@ac41be98e9d0/Scripts/OVRManager.cs:2208)
OVRManager:Awake () (at ./Library/PackageCache/com.meta.xr.sdk.core@ac41be98e9d0/Scripts/OVRManager.cs:2508)
(Filename: ./Library/PackageCache/com.meta.xr.sdk.core@ac41be98e9d0/Scripts/OVRManager.cs Line: 2208)
SystemHeadset Oculus_Link_Quest_2, API OpenXR
UnityEngine.Debug:ExtractStackTraceNoAlloc (byte*,int,string)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:LogFormat (UnityEngine.LogType,string,object[])
UnityEngine.Debug:LogFormat (string,object[])
OVRManager:InitOVRManager () (at ./Library/PackageCache/com.meta.xr.sdk.core@ac41be98e9d0/Scripts/OVRManager.cs:2211)
OVRManager:Awake () (at ./Library/PackageCache/com.meta.xr.sdk.core@ac41be98e9d0/Scripts/OVRManager.cs:2508)
(Filename: ./Library/PackageCache/com.meta.xr.sdk.core@ac41be98e9d0/Scripts/OVRManager.cs Line: 2211)
Please help me in fixing this issue.