Skip to main content
Up and Coming
December 10, 2015

[VRDevice] Initialization of device oculus failed. Unity 5.3

I don't know if this is a bug report or something I should be approaching differently now I've updated to Unity 5.3

So my original scenario was to have the VR enabled and then when the game runs have the UnityEngine.VR.VRDevice.isPresent command detect whether the device was attached. If not I would turn off the vr UnityEngine.VR.VRSettings.enabled = false; and enable a non vr camera.

That all worked fine or as good as I would expect but now if you turn on your VR support and turn of the Oculus Rift and run your game it comes up with the error.

[VRDevice] Initialization of device oculus failed.

Should I be doing this differently now with the new version of Unity3D like having the VR tickbox off, check for ispresent first and then switch on vr if it is?

Basically is this a bug or a change to the way VR works with it's detection?

Any ideas?

Phil
    This topic has been closed for replies.

    15 replies

    New Participant
    April 15, 2016
    It still Doesnt work for me! I am using The Runtime 1.3.0 runtime and I still get the same error! :(
    New Participant
    June 8, 2016
    Did any one find a solution for this?
    I'm using Unity 5.3.5f1 with the DK2 and I've already tried several version of the SDK and utils.
    New Participant
    June 9, 2016
    No luck with Unity 5.3.5p2 and the DK2.
    Could the DK2 be totally obsolete now?
    November 15, 2016
    Hi, I have the same problem with DK2 on Win10, Unity 5.3.7p1, OculusUtilities 1.9.0, Oculus App 1.10.0. 
    My app is working in Editor with no error. In opposite, the build version starts but the Oculus does not work with the following error in output_log.txt : 

    "Initialize engine version: 5.3.7p1 (a26d44cae81c)
    Security error. This OVRPlugin is invalid!
    (Filename:  Line: 29)
    [VRDevice] Initialization of device oculus failed."

    I do not know why my plugin is invalid in build version and not in Editor, moreover that I'm using last OculusUtilities and Oculus app.
    Inspiring
    November 15, 2016
    > Security error. This OVRPlugin is invalid!

    This can happen for a couple of reasons:
    1) If you are using an invalid (modified) copy of OVRPlugin.
    2) If the app is installed in a folder with non-English unicode characters in the name. We are working on fixing this.