Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Black/White Flashing Play Mode - Quest 2

Discussion in 'VR' started by alex_c_grey, Apr 28, 2023.

  1. alex_c_grey

    alex_c_grey

    Joined:
    Apr 28, 2023
    Posts:
    9
    Anyone know of anything I haven't tried that has been suggested that I am missing?
    Occulus works correctly with build & run, but not play mode.


    Computer (Laptop):
    -----------------------------------------------------------
    AMD Ryzen 7 5800H (CPU)
    64 GB of Ram
    Nvidia GeForce RTX 3050 Ti (GPU)
    Windows 11
    -----------------------------------------------------------

    Settings:
    -----------------------------------------------------------
    - Developer Mode On
    - USB Debugging Allowed
    - Link Active
    - Quest 2 updated (4/27/2023)

    - XR Plugin installed
    -----------------------------------------------------------

    VR Hardware:
    -----------------------------------------------------------
    - Oculus Quest 2
    - With Quest Link Cable (10ft)
    -----------------------------------------------------------


    Unity Versions Attempted:
    -----------------------------------------------------------
    - 2021.3.6f1
    - 2021.3.23f1
    -----------------------------------------------------------

    Tutorials Tried:
    -----------------------------------------------------------
    "How to Make a VR Game Unity - Part 1"

    "5 Common Oculus Quest Unity Deployment Issues" -

    "Quest Link in Unity" -

    "Unity Play Mode in Oculus Quest2" -

    "Connecting Oculus to Unity" -

    -----------------------------------------------------------

    Threads Read:
    -----------------------------------------------------------
    https://forum.unity.com/threads/oculus-quest-2-screen-flickering-issue-with-urp.1258425/
    https://forum.unity.com/threads/unity-play-mode-not-connecting-to-oculus-quest-2.1389171/
    https://forum.unity.com/threads/quest-2-flashing-white-and-black-when-in-play-mode.1417041/
    https://www.reddit.com/r/OculusQues..._sync_unity_playmode_with_oculus_quest_2_for/
    https://circuitstream.com/blog/oculus-quest-2-setup
    https://jerhemy.com/article/2021/05/18/unity-oculus-setup/
    https://communityforums.atmeta.com/...-between-Unity-and-Ouest-2-in-play/m-p/983537
    -----------------------------------------------------------


    Results:

    In version - 2021.3.6f1
    -----------------------------------------------------------
    black/white flashing entering Unity play mode from oculus linked home.
    This I have OpenXR, for desktop and Android, and Occulus Touch Controller Profile for Interactions.

    Unity throws no errors but flashing occurs and then goes back to Oculus Link home with desktop view of Unity.

    In version - 2021.3.23f1
    -----------------------------------------------------------
    black/white flashing entering Unity play mode from oculus linked home.
    Tried the OpenXR but throws all sorts of errors and compiling issue.

    When I did Oculus option it did flashing then threw this Unity Crash log.

    Code (CSharp):
    1. Obtained 45 stack frames
    2. 0x00007ffd3c03c347 (LibOVRRT64_1) ovr_ReleaseHapticsClip
    3. 0x00007ffd3bffc8fd (LibOVRRT64_1) ovr_ReleaseHapticsClip
    4. 0x00007ffd0d5880ff (OVRPlugin) ovrp_UnityOpenXR_OnSessionDestroy
    5. 0x00007ffd0d581d1b (OVRPlugin) ovrp_UnityOpenXR_OnSessionDestroy
    6. 0x00007ffd0d579ec3 (OVRPlugin) ovrp_UnityOpenXR_OnSessionDestroy
    7. 0x00007ffd0d57189a (OVRPlugin) ovrp_UnityOpenXR_OnSessionDestroy
    8. 0x00007ffd0d561730 (OVRPlugin) ovrp_Initialize7
    9. 0x00007ffd5a043917 (OculusXRPlugin) XRSDKPreInit
    10. 0x00007ffd5a04a785 (OculusXRPlugin) SetUserDefinedSettings
    11. 0x00007ff7df204a35 (Unity)
    12. 0x00007ff7df2fe50b (Unity)
    13. 0x00007ff7df20133d (Unity)
    14. 0x00007ff7dded6fb3 (Unity)
    15. 0x0000019859bbf84a (Mono JIT Code) (wrapper managed-to-native) UnityEngine.SubsystemDescriptorBindings:Create (intptr)
    16. 0x0000019859bbf71b (Mono JIT Code) UnityEngine.IntegratedSubsystemDescriptor`1<TSubsystem_REF>:Create ()
    17. 0x0000019859bbf6cb (Mono JIT Code) UnityEngine.IntegratedSubsystemDescriptor`1<TSubsystem_REF>:CreateImpl ()
    18. 0x0000019859bbf688 (Mono JIT Code) UnityEngine.IntegratedSubsystemDescriptor:UnityEngine.ISubsystemDescriptor.Create ()
    19. 0x0000019859bbee59 (Mono JIT Code) [XRLoaderHelper.cs:118] UnityEngine.XR.Management.XRLoaderHelper:CreateSubsystem<TDescriptor_REF, TSubsystem_REF> (System.Collections.Generic.List`1<TDescriptor_REF>,string)
    20. 0x0000019859bbe383 (Mono JIT Code) [OculusLoader.cs:174] Unity.XR.Oculus.OculusLoader:Initialize ()
    21. 0x0000019859bbda97 (Mono JIT Code) [XRManagerSettings.cs:190] UnityEngine.XR.Management.XRManagerSettings:InitializeLoaderSync ()
    22. 0x0000019859bbd993 (Mono JIT Code) [XRGeneralSettings.cs:176] UnityEngine.XR.Management.XRGeneralSettings:InitXRSDK ()
    23. 0x0000019859bbd873 (Mono JIT Code) [XRGeneralSettings.cs:149] UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad ()
    24. 0x000001994c198f6d (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
    25. 0x00007ffd461cfeb4 (mono-2.0-bdwgc) mono_jit_set_domain
    26. 0x00007ffd4610e764 (mono-2.0-bdwgc) mono_object_get_virtual_method
    27. 0x00007ffd4610e8fc (mono-2.0-bdwgc) mono_runtime_invoke
    28. 0x00007ff7de912794 (Unity)
    29. 0x00007ff7de8f1f94 (Unity)
    30. 0x00007ff7de5bb39c (Unity)
    31. 0x00007ff7de5c05ef (Unity)
    32. 0x00007ff7de60e447 (Unity)
    33. 0x00007ff7de60c58a (Unity)
    34. 0x00007ff7de60d1d2 (Unity)
    35. 0x00007ff7de60dd7b (Unity)
    36. 0x00007ff7de611971 (Unity)
    37. 0x00007ff7de611f4f (Unity)
    38. 0x00007ff7df8232ec (Unity)
    39. 0x00007ff7df52b135 (Unity)
    40. 0x00007ff7df53afd7 (Unity)
    41. 0x00007ff7df53e44b (Unity)
    42. 0x00007ff7df99323a (Unity)
    43. 0x00007ff7df997b0b (Unity)
    44. 0x00007ff7e0d76cbe (Unity)
    45. 0x00007ffdf4c7269d (KERNEL32) BaseThreadInitThunk
    46. 0x00007ffdf576a9f8 (ntdll) RtlUserThreadStart
    47.  
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,127
    To make sure it is not a Meta issue, do released PCVR games work without issue?
    If not, it is not an Unity problem.

    If that does work, maybe update the OpenXR package to 1.7, or if you use Oculus XR plugin update that to the latest version (check changelog). If you use oculus integration package definitely update that as well.

    If that doesn't fix it, try in a blank project with just the XR rig with 1 camera in it (blank scene and go to GameObject - XR - covert main cam to XR Rig)
     
  3. alex_c_grey

    alex_c_grey

    Joined:
    Apr 28, 2023
    Posts:
    9
    My Quest 2 works with other PCVR games.

    I don't know how to find which version of OpenXR I am using, but the version is a fresh install as of today.

    I followed the documentation on this page: https://docs.unity3d.com/Manual/configuring-project-for-xr.html
    I chose to start with a completely empty scene and followed the instructions exactly.

    I received this error (which is given per frame, over 999+ times):
    Code (CSharp):
    1. CameraOffset.SetupCamera: Attempting to set the tracking space to Device, but that is not supported by the SDK.UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
    I then tried changing the Request Tracking Mode from Default to Floor and got this error:
    Code (CSharp):
    1. CameraOffset.SetupCamera: Attempting to set the tracking space to Floor, but that is not supported by the SDK. UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
    This message is given when Request Tracking Mode from Default to Device:
    Code (CSharp):
    1. CameraOffset.SetupCamera: Attempting to set the tracking space to Device, but that is not supported by the SDK. UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
    All with the same flashing...

    Camera's current position in scene is (0,0,0) with a rotation of (0,0,0) and a scale of (1,1,1). aka all default with no modification.

    This error with these notifications occur on a clean/empty project and scene, where I have followed the configuration instructions for OpenXR from Unity Documentation.
     
    Last edited: Apr 28, 2023
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,127
    How do you setup the player?
    I usually just use an XR rig and the settings on there
     
  5. alex_c_grey

    alex_c_grey

    Joined:
    Apr 28, 2023
    Posts:
    9
    Can you be more specific with "how do I set up the player?" please.
    for the XR rig, I have tried to use the default setup in VR Core.

    in another project for basic 3D URP I have also put the main camera in root bottom position of hierarchy, tagged it as main camera, and used the option GameObject>XR > convert main camera to XR rig
     
  6. alex_c_grey

    alex_c_grey

    Joined:
    Apr 28, 2023
    Posts:
    9
    If I can change my prefix on this thread to bug will get it get some potential help from Unity Dev Support?
     
  7. alex_c_grey

    alex_c_grey

    Joined:
    Apr 28, 2023
    Posts:
    9
  8. alex_c_grey

    alex_c_grey

    Joined:
    Apr 28, 2023
    Posts:
    9
    2021.3.6f1 version. XR Plug-in & Build setting Windows/Oculus
    --------------------------------------------------------------------------------------------------------------
    Able to complete a successful build without errors, also able to enter play mode without errors.

    Build Mode, only displays the skybox and none of the objects into scene after project configuration for VR.
    It IS tracking headset movement.

    Play mode, flickers black/white, then kicks me back to desktop view of Unity, but displays play mode running in desktop window. It is NOT tracking headset movement.
     
    nyckelalwe014 likes this.
  9. alex_c_grey

    alex_c_grey

    Joined:
    Apr 28, 2023
    Posts:
    9
    2021.3.16f1. XR Plugin & Build setting Windows/OpenXR
    --------------------------------------------------------------------------------------------------------------

    Build mode in windows is working properly, build gives some white/yellow warnings. All interactions normal.

    Play mode, white flickering, then back to desktop view of Unity. displays playmode running in desktop window.
    Following errors given:

    The referenced script (Unknown) on this Behaviour is missing!
    The referenced script on this Behaviour (Game Object 'Main Camera') is missing!

    XR Interaction Toolkit: Interaction Layer 31 is not set to 'Teleport'.
    UnityEditor.EditorApplication:Internal_PlayModeStateChanged (UnityEditor.PlayModeStateChange)

    Despite going to Layer 31 and naming it Teleport.


     
  10. alex_c_grey

    alex_c_grey

    Joined:
    Apr 28, 2023
    Posts:
    9
    Still looking for help to get play mode working please!
     
  11. alex_c_grey

    alex_c_grey

    Joined:
    Apr 28, 2023
    Posts:
    9
    Still haven't found a solution.
     
  12. maxime66410

    maxime66410

    Joined:
    Mar 16, 2018
    Posts:
    19
    Same problem here.
     
  13. nyckelalwe014

    nyckelalwe014

    Joined:
    Sep 18, 2023
    Posts:
    2
    I too have a problem with pressing play, the black and white flashing, and getting kicked out to view the playmode in desktop view, the play view not following the headset.... also get around 50+ errors. Im using a Quest 2, in unity version 2021.3.31f1 (also tried 2021.3.26f1 with same results). Im using a xr sample project found here: https://github.com/immersive-insiders/OculusIntegration_BaseProject.
    Errors are below
    :

    Unity v2021.3.31f1, Oculus Utilities v1.88.0, OVRPlugin v1.88.0, SDK v1.0.27.
    UnityEngine.Debug:Log (object)
    OVRManager:InitOVRManager () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2017)
    OVRManager:Awake () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2252)

    SystemHeadset Oculus_Link_Quest_2, API OpenXR
    UnityEngine.Debug:LogFormat (string,object[])
    OVRManager:InitOVRManager () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2022)
    OVRManager:Awake () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2252)

    OpenXR instance 0x303800000001 session 0x0
    UnityEngine.Debug:LogFormat (string,object[])
    OVRManager:InitOVRManager () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2026)
    OVRManager:Awake () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2252)

    Current display frequency 0, available frequencies []
    UnityEngine.Debug:LogFormat (string,object[])
    OVRManager:InitOVRManager () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2141)
    OVRManager:Awake () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2252)

    TcpListener started. Local endpoint: 0.0.0.0:32419
    UnityEngine.Debug:LogFormat (string,object[])
    OVRNetwork/OVRNetworkTcpServer:StartListening (int) (at Assets/Oculus/VR/Scripts/Util/OVRNetwork.cs:102)
    OVRSystemPerfMetrics/OVRSystemPerfMetricsTcpServer:OnEnable () (at Assets/Oculus/VR/Scripts/Util/OVRSystemPerfMetrics.cs:246)
    UnityEngine.GameObject:AddComponent<OVRSystemPerfMetrics/OVRSystemPerfMetricsTcpServer> ()
    OVRManager:InitOVRManager () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2153)
    OVRManager:Awake () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2252)

    [OVRNetworkTcpServer] Start Listening on port 32419
    UnityEngine.Debug:LogFormat (string,object[])
    OVRNetwork/OVRNetworkTcpServer:StartListening (int) (at Assets/Oculus/VR/Scripts/Util/OVRNetwork.cs:117)
    OVRSystemPerfMetrics/OVRSystemPerfMetricsTcpServer:OnEnable () (at Assets/Oculus/VR/Scripts/Util/OVRSystemPerfMetrics.cs:246)
    UnityEngine.GameObject:AddComponent<OVRSystemPerfMetrics/OVRSystemPerfMetricsTcpServer> ()
    OVRManager:InitOVRManager () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2153)
    OVRManager:Awake () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2252)

    Local Dimming feature is not supported
    UnityEngine.Debug:LogWarning (object)
    OVRManager:InitOVRManager () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2200)
    OVRManager:Awake () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2252)

    Found IOVRSkeletonDataProvider reference in LeftOVRHand due to unassigned field.
    UnityEngine.Debug:Log (object)
    OVRSkeleton:Awake () (at Assets/Oculus/VR/Scripts/Util/OVRSkeleton.cs:233)

    Found IOVRSkeletonDataProvider reference in RightOVRHand due to unassigned field.
    UnityEngine.Debug:Log (object)
    OVRSkeleton:Awake () (at Assets/Oculus/VR/Scripts/Util/OVRSkeleton.cs:233)

    [OVRManager] OnApplicationPause(false)
    UnityEngine.Debug:Log (object)
    OVRManager:OnApplicationPause (bool) (at Assets/Oculus/VR/Scripts/OVRManager.cs:2967)

    [OVRManager] OnApplicationFocus(true)
    UnityEngine.Debug:Log (object)
    OVRManager:OnApplicationFocus (bool) (at Assets/Oculus/VR/Scripts/OVRManager.cs:2975)

    [OVRManager] HMDAcquired event
    UnityEngine.Debug:Log (object)
    OVRManager:Update () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2481)

    [OVRManager] InputFocusLost event
    UnityEngine.Debug:Log (object)
    OVRManager:Update () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2569)

    Unable to process a controller whose SampleRateHz is 0 now.
    UnityEngine.Debug:Log (object)
    OVRHaptics/OVRHapticsOutput:process () (at Assets/Oculus/VR/Scripts/OVRHaptics.cs:180)
    OVRHaptics:process () (at Assets/Oculus/VR/Scripts/OVRHaptics.cs:416)
    OVRManager:LateUpdate () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2932)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_SYSTEM_INVALID]: xrGetD3D11GraphicsRequirementsKHR(m_xrInstance, m_xrSystemId, &graphicsReq), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:230 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_SYSTEM_INVALID, cmd xrGetD3D11GraphicsRequirementsKHR(m_xrInstance, m_xrSystemId, &graphicsReq) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:230)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_SYSTEM_INVALID]: xrCreateSession(m_xrInstance, &createInfo, &m_xrSession), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4270 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_SYSTEM_INVALID, cmd xrCreateSession(m_xrInstance, &createInfo, &m_xrSession) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4270)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4278 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateReferenceSpace(m_xrSession, &spaceCreateInfo, &outSpace) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4278)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Left]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4298 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Left]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4298)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Right]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4300 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace(m_xrSession, &actionSpaceCreateInfo, &m_xrHandSpace[ovrpHand_Right]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4300)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace( m_xrSession, &detachedControllersActionSpaceCreateInfo, &m_xrDetachedControllerSpace[ovrpHand_Left]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4309 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace( m_xrSession, &detachedControllersActionSpaceCreateInfo, &m_xrDetachedControllerSpace[ovrpHand_Left]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4309)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateActionSpace( m_xrSession, &detachedControllersActionSpaceCreateInfo, &m_xrDetachedControllerSpace[ovrpHand_Right]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4312 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateActionSpace( m_xrSession, &detachedControllersActionSpaceCreateInfo, &m_xrDetachedControllerSpace[ovrpHand_Right]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4312)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrAttachSessionActionSets(m_xrSession, &attachInfo), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4353 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrAttachSessionActionSets(m_xrSession, &attachInfo) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4353)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] CreateXrHandTracking() failed (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4358)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateRenderModelPathsFB(m_xrSession, pathCount, &pathCount, nullptr), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4370 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrSetPerformanceMetricsStateMETA(m_xrSession, &perfMetricsState), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4384 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] xrSetPerformanceMetricsStateMETA() failed (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:4385)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrGetVisibilityMaskKHR(m_xrSession, viewType, (uint32_t)eyeId, maskType, &maskDesc), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:9994 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] Error -1000 returns from GetViewportStencil when querying size (arvr\projects\integrations\OVRPlugin\Src\Util\Compositor.cpp:825)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateSwapchain(m_compositor->m_xrSession, &swapchainCreateInfo, &swapchain), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:110 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateSwapchain(m_compositor->m_xrSession, &swapchainCreateInfo, &swapchain) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:110)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateSwapchainImages(swapchain, 0, &imageCount, nullptr), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:119 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrEnumerateSwapchainImages(swapchain, 0, &imageCount, nullptr) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:119)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] CompositorOpenXR_D3D11::Layer::Initialize(): CreateSwapchain for eye 0: 0000000000000000, 0 stages
    UnityEngine.Debug:Log (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1984)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateSwapchainImages( swapchain, imageCount, &imageCount, (XrSwapchainImageBaseHeader*)&textureSwapChainImages[0]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:137 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrEnumerateSwapchainImages( swapchain, imageCount, &imageCount, (XrSwapchainImageBaseHeader*)&textureSwapChainImages[0]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:137)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrCreateSwapchain(m_compositor->m_xrSession, &swapchainCreateInfo, &swapchain), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:179 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrCreateSwapchain(m_compositor->m_xrSession, &swapchainCreateInfo, &swapchain) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:179)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateSwapchainImages(swapchain, 0, &imageCount, nullptr), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:184 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrEnumerateSwapchainImages(swapchain, 0, &imageCount, nullptr) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:184)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] CompositorOpenXR_D3D11::Layer::CreateDepthSwapChain(): [depthStencil] CreateSwapchain for eye 0: 0000000000000000, 0 stages
    UnityEngine.Debug:Log (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1984)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrEnumerateSwapchainImages( swapchain, imageCount, &imageCount, (XrSwapchainImageBaseHeader*)&depthTextureSwapChainImages[0]), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:202 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] OpenXR error: XR_ERROR_HANDLE_INVALID, cmd xrEnumerateSwapchainImages( swapchain, imageCount, &imageCount, (XrSwapchainImageBaseHeader*)&depthTextureSwapChainImages[0]) (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR_D3D11.cpp:202)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRPlugin] [UpdatePerfMetrics] m_xrSession == XR_NULL_HANDLE (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:9892)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1988)

    [OVRManager] OnApplicationFocus(false)
    UnityEngine.Debug:Log (object)
    OVRManager:OnApplicationFocus (bool) (at Assets/Oculus/VR/Scripts/OVRManager.cs:2979)
    UnityEditor.HostView:OnLostFocus ()
     
    Last edited: Nov 6, 2023
  14. nyckelalwe014

    nyckelalwe014

    Joined:
    Sep 18, 2023
    Posts:
    2

    So, apparently its the graphics cards fault, as seen in this link: https://communityforums.atmeta.com/...upported-with-Oculus-Link/td-p/939111/page/15. No further info has been provided when a fix will arrive, if ever...