Forum Discussion
Finstern
11 years agoHonored Guest
Toggle Oculus DK2 on later in the program?
I have a mostly finished "app" where people can build their own area and then check it out. I'm having a little trouble figuring out how to enable the DK2 mid way through the program... With the DK1 I can just mirror the screen and enable the cameras whenever I like but it seems like the DK2 doesn't like the OVR Manager being turned on and off more than once...
Has anyone else run into this issue?
Edit: Is there anyway to get Unity to display the app on the main screen and the oculus output on the oculus?
Has anyone else run into this issue?
Edit: Is there anyway to get Unity to display the app on the main screen and the oculus output on the oculus?
8 Replies
Replies have been turned off for this discussion
- BLACKISHHonored Guest+1
It was all so easy with DK1 :( - ScrewdriverstudHonored Guest
"Finstern" wrote:
I have a mostly finished "app" where people can build their own area and then check it out. I'm having a little trouble figuring out how to enable the DK2 mid way through the program... With the DK1 I can just mirror the screen and enable the cameras whenever I like but it seems like the DK2 doesn't like the OVR Manager being turned on and off more than once...
Has anyone else run into this issue?
Edit: Is there anyway to get Unity to display the app on the main screen and the oculus output on the oculus?
Can you no longer do this through swapping scenes? - BLACKISHHonored Guestwhat do you mean? if I change scene I'm not at the same point anymore. I want to be able to toggle VR on and off at any point, just like I could with DK1!
- PoddenProtegeI've looked into this, too. Unity does not allow multi window applications, therefore sadly it's not possible to make an application with oculus+normal display. Hopefully later with the direct unity integration and the rift direct mode this can be possible.
- WelbyAdventurerRemove the OVRmanager from all the OVRcamerarig of your scene,than add ONLY one ovrmanager to a completely different and random object.
This should works. - FinsternHonored Guest
"welby" wrote:
Remove the OVRmanager from all the OVRcamerarig of your scene,than add ONLY one ovrmanager to a completely different and random object.
This should works.
I've tried this with the latest sdk version and it just freezes the program... - vrdavebOculus StaffIf you rename OVRManager.Start to OVRManager.OnEnable, it should make it safe to disable and enable OVRManager at runtime. When it's disabled, you can use a plain Camera to render without VR.
- steverockanHonored GuestAlso interested in this. I can toggle the camera rig perfectly fine, but I can't make Unity use the oculus display device as opposed to my main monitor. You can kinda fake this in extended mode using windowed standalone and resizing and moving the window.. :P
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 6 months ago