Hi all, I’m working on a DayDream app so my built target is set to Android… this therefore means I can’t seem to add ‘OpenVR’ for Vive to the Virtual Reality SDKs in play settings (I can only add it if my target platform is PC). This seems to mean I can’t use my Vive headset to quickly test the VR scene in the editor (saving time on building/pushing the apk to a DayDream device.
If I had an oculus rift, I would indeed be able to use that to test the scene quickly as Unity lets you still add the Oculus SDK when in Android build target (no doubt for Gear VR).
Does anyone know of a solution other than having to switch platforms for testing (not really an option as i’m also testing with the emulated daydream controller, which again isn’t possible when build target is not Android).
It’s not going to be apples to apples (even if you had a rift and gear vr). The mobile VR platforms don’t have full positional tracking and even with the motion controller fake some basic IK with orientation. In the editor on PC the controllers for either desktop PC is going to have full positional tracking.
As far as the build targets and virtual reality sdks, Unity keeps track of this by platform so you can certainly add open vr on PC (for editor) and daydream on android and even in android mode last time I tried steam vr did launch every time I hit play in editor (but isn’t great for testing daydream anyways so I don’t use it). On daydream the controller emulator is your best bet.
The problem is/was that when in Android build target, OpenVR isn’t an option in the Player Project settings. However, I have discovered if I manually edit the ProjectSettings file in a text editor, I can add the - OpenVR there, and Unity kind of honours it and lets me use the Vive headset to preview in editor. Yay.
I do indeed use the daydream controller emulator on a phone for testing, rather than the Vive controllers. It was simply the VR headset I wanted to use so I could get a better feel of being in the world than from the editor view.
It’s also possible to turn off the positional data tracking of the vive headset to fully emulate the daydream headset. Makes for much faster iterative testing than having to compile/install an apk to a daydream device