Search Unity

Gear VR & minor annoyances - [VRDevice] Initialization of device oculus failed.

Discussion in 'AR/VR (XR) Discussion' started by andyz, Mar 16, 2016.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,276
    When I have VR Support turned on in player settings, and no Oculus Rift plugged in (or not turned on), you get the error "[VRDevice] Initialization of device oculus failed." when you run your scene in the editor which is a bit annoying if you have 'Error Pause' on.

    If you are developing for Gear VR this will always be the case so you must disable 'Error Pause' or turn off 'Virtual Reality Supported' in player settings or keep un-pausing player at start.

    Also could it simulate a VR device with the mouse somehow if none is plugged so you can test your Gear VR app with head turning etc to some extent before building to the phone and putting phone into GearVR headset to test? This is what the Google Cardboard VR plugin does. You could just add a mouse movement script for when in editor I guess.

    Perhaps I'm missing something? (Unity 5.3.3)
     
    Roma6 likes this.