Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Unable to start Oculus XR Plugin

Discussion in 'AR/VR (XR) Discussion' started by bogheorghiu, Jun 17, 2020.

  1. bogheorghiu

    bogheorghiu

    Joined:
    Oct 14, 2018
    Posts:
    4
    In both 2019.3 and 2019.4, after installing the XR manager and the Oculus package and placing an XR Rig in the scene, I get this

    erori unity.PNG

    and the headset doesn't work in Unity.

    This happens in a new scene in a new blank project, in both 3D and HDRP.
    The project I need to migrate to VR is in 2019.3 so I didn't try older versions.
    The headset works in other apps.
    Did anyone experience anything like this?
     
    EXPLoad_Unity and avivheilweil like this.
  2. ash_at_unity3d

    ash_at_unity3d

    Unity Technologies

    Joined:
    Jan 9, 2020
    Posts:
    3
    Hey there Bogheorghiu,

    a couple of quick questions:
    • What version of XR Management are you using?
    • What version of
      xr.sdk.oculus
      are you using?
    • I'm assuming you're running on Windows, but could you confirm that?
    Looking at that screenshot, my first reaction is that potentially the
    xr.sdk.oculus
    dll's are corrupt in your install? What happens if you uninstall/reinstall the
    xr.sdk.oculus
    package?

    Additionally, can we see the callstack on the highlighted bug? That might give us further insight.
     
    Last edited: Jun 17, 2020
  3. avivheilweil

    avivheilweil

    Joined:
    Nov 4, 2015
    Posts:
    3
    I have the same issue...

    Unable to start Oculus XR Plugin.
    UnityEngine.Debug:LogError(Object)
    Unity.XR.Oculus.OculusLoader:Initialize() (at Library/PackageCache/com.unity.xr.oculus@1.3.4/Runtime/OculusLoader.cs:111)
    UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad() (at Library/PackageCache/com.unity.xr.management@3.2.12/Runtime/XRGeneralSettings.cs:148)

    It happens event when I start a new project.
    I use Oculus Quest via Link.
     
  4. bricefr

    bricefr

    Joined:
    May 3, 2015
    Posts:
    42
    Same here. 2019.4.1f1 on Windows. Oculus app installed and working.
    Oculus XR Plugin = 1.3.4
    XR Plugin Management = 3.2.12

    Also tried some older packages versions, same error. Bummer, can't get any VR working with the last Unity versions, neither Windows, nor macOS.

    You guys need to get back in the game, several days we are stuck with all those errors in the last versions.
     
    Last edited: Jun 24, 2020
    avivheilweil likes this.
  5. Aydan96

    Aydan96

    Joined:
    Feb 18, 2019
    Posts:
    1
    I am having the exact same error messages after converting over to the Universal RP. I have not seen these three errors in succession before.
    Unity 2019.3.13f1
    Oculus XR Plugin = 1.3.4
    XR Plugin Management = 3.2.12
     
  6. bricefr

    bricefr

    Joined:
    May 3, 2015
    Posts:
    42
    Apparently, the message is gone when I switched back on the 3.2.10 of the XR Plugin Management (but it's strange since I'm pretty sure having already tried to switch them back to an older version a few days back). Also using the URP.
     
  7. SuperPirx

    SuperPirx

    Joined:
    Sep 3, 2018
    Posts:
    10
    Make sure your Oculus device is working and if it's Oculus Quest it's in Link mode. Having Oculus app on is not enough. This fixed the issue for me (Unity 2019.4.1f1).
     
unityunity