Reputation: 541
Hi2,
I am creating a VR Unity application for Oculus Quest.
And the application works perfectly fine.
Just a very simple and quick question;
How do I make the application stay active?
Because if I remove the headset, the Oculus Quest's display will turn off.
And after sometime the Application seems to quit by itself.
Therefore is there any Unity code to make the Oculus Quest stay active?
Edit:
Adding the player setting
Upvotes: 0
Views: 1631
Reputation: 585
In case you are using the Oculus camera rig you can try setting the OVRPlugin.ignoreVrFocus
to true; this will always keep the Oculus enabled even when the headset is removed.
If that doesn't work make sure to select "Run In Background" under the Player settings > Resolution.
I hope this helps!
Upvotes: 0