Search Unity

Virtual Reality SDK OpenVR failed to initialize

Discussion in 'VR on macOS Preview' started by kunwookimm, Sep 18, 2018.

  1. kunwookimm

    kunwookimm

    Joined:
    May 9, 2018
    Posts:
    2
    Hi,

    I am setting up my VR development in my Macbook Pro. I connected an external Graphics Card on my MacBook, and I am using the Vive Headset. I am using Non-beta SteamVR (Using beta SteamVR gave me compositor errors, while non-beta SteamVR did not).

    In Unity, I downloaded steamVR plug-in. However, when I play the basic scene after dragging Camera Rig and SteamVR prefabs on an empty scene, it gives me "Virtual Reality SDK OpenVR failed to initialize. Will attempt to enable None instead." warning and nothing goes through the headset.

    Interesting thing is if I Build & Run, the VR works fine. The error comes up in editing mode.

    Things that I tried
    - using Display Port instead of HDMI (didn't solve the issue)
    - using SteamVR beta + general steam beta (gave me compositor error 400 & 306).
    - reinstalling steamVR many times (didn't work)
    - adding Mock HMD to my XR properties (didn't work)
    - using only one monitor (didn't work)

    Could anyone tell me how to resolve the OpenVR initialization error?

    ---------

    [Macbook Pro Specs]
    Version: High Sierra 10.13.6
    Processor: 2.8 GHz Intel Core i7
    Memory: 16 GB 2133 MHz LPDDR3

    [Graphic Card]
    External Graphics Card: Radeon RX Vega 64 8176 MB

    [Unity Version]
    2018.2.8f1

    --------
     
  2. kkanwar2005

    kkanwar2005

    Joined:
    Mar 14, 2018
    Posts:
    1
    hi,

    I am facing the same issue. Could you please let me know if you were able to resolve this?
     
  3. kunwookimm

    kunwookimm

    Joined:
    May 9, 2018
    Posts:
    2
    I haven't been able to fix the issue yet
     
  4. yljy

    yljy

    Joined:
    Mar 26, 2019
    Posts:
    1
    you can change the version of steamVR or unity
     
  5. unity_dY-cu1xqu6PgJg

    unity_dY-cu1xqu6PgJg

    Joined:
    Aug 29, 2019
    Posts:
    1
    This is perfectly normal!
    Your build settings are set to run the Oculus SDK, so when you hit play in the Editor and Unity doesn't find a connected VR headset - it eventually defaults to None (Meaning the game runs in regular 2D Monoscopic mode).
    The Warning only occurs when you try to run the game on a non-VR platform and is printed to the console just to let you know what's happening. It's safe to ignore :)