Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
phileday's avatar
phileday
MHCP Member
10 years ago

[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

15 Replies

Replies have been turned off for this discussion