Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Unable to start Oculus XR Plugin

Discussion in 'VR' started by MOVE_with_sandra, Nov 28, 2023.

  1. MOVE_with_sandra

    MOVE_with_sandra

    Joined:
    Oct 28, 2023
    Posts:
    2
    Hey there,

    I have read all posts concerning this topic and still nothing has worked for me. I want to test my scene in unity on my computer, resp. VR Quest 1.

    Running on Windows
    Oculus Quest 1 correctly linked and active in Oculus app
    Oculus XR Plugin updated to latest Version 4.1.2 (Nov. 9, 2023)
    Oculus App closed, Unity closed, computer restarted all done.
    Also tried and reinstalled.

    Still getting the same error message, when hitting start.

    Unable to start Oculus XR Plugin.
    Possible causes include a headset not being attached, or the Oculus runtime is not installed or up to date.
    If you've recently installed or updated the Oculus runtime, you may need to reboot or close Unity and the Unity Hub and try again.
    UnityEngine.Debug:LogWarning (object)
    Unity.XR.Oculus.OculusLoader:Initialize () (at ./Library/PackageCache/com.unity.xr.oculus@4.1.2/Runtime/OculusLoader.cs:182)
    UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad () (at ./Library/PackageCache/com.unity.xr.management@4.4.0/Runtime/XRGeneralSettings.cs:148)

    Anybody with any new ideas from the ones I already tried?

    Thanks in advance.
     
  2. rgarand64

    rgarand64

    Joined:
    Feb 17, 2022
    Posts:
    14
    Hi Sandra, Have you tried deleting all library folder's content. Unity will build it from scratch. Not very time consuming. This fixed many erratic error messages/behavior for me...Robert
     
  3. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,879
    Do other PC VR games work?
     
  4. nalex66

    nalex66

    Joined:
    Aug 26, 2022
    Posts:
    54
    I've been getting this today. It was because I installed the Steam Link app on my Quest, and pairing that to my PC made SteamVR the default OpenXR runtime. To fix it, go into the Oculus PC app, in Settings/General, look for "OpenXR Runtime" and click the button that says "Set Oculus as active".
     
    DevDunk likes this.
  5. PerePrm

    PerePrm

    Joined:
    Jan 22, 2019
    Posts:
    1
    Thanks God! In my case the problem was this, thank you very much.