Forum Discussion
MikeF
9 years agoTrustee
Proximity sensor troubles
So i've got an application in development that uses a traditional 2d menu for logging in, character selection, options etc... Once the game is launched a prompt to put on the rift is displayed and VR mode is enabled. Now with the cv1 the game is completely paused until the sensor reads true, so its impossible for the player to start a game unless they cover the sensor to "unlock" the menu. Is there any way to disable this functionality?
3 Replies
Replies have been turned off for this discussion
- MikeFTrusteeand just as i post this i find the solution.
VRSettings.enabled = false; will unlock the game, then set to true when entering a scene
Unfortunately this means i cannot have a message displayed on the rift and have the menu unlocked at the same time, but better than nothing. - vrdavebOculus StaffWhen you take the Rift off, the app actually loses focus because we switch to a trivial black screen "Rift saver" app. As of Unity 5.3.4p6, "Run in Background" once again works, so you can keep the game updating when it isn't focused. However, unfocused apps still won't render because of the high overhead that would come with.
- MikeFTrusteeahhh very good to know! thanks Dave
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
- 10 months ago
- 1 year ago
- 2 months ago