Stop application pausing when GearVR is removed
Currently removing the GearVR from your head, causes the Unity application to pause, triggering OnApplicationPause. I need the application to continue as though it is still pressed against the users head; for debugging purposes.
Looking around, OVRManager included with the OVR Utilities package once contained a 'runInBackground' option, which sounds like it would solve this issue. However, they seem to have removed it.
Any ideas on its replacement, or a solution to this problem?
Best,
Ben
Answer by Achilleas-zapantis · Oct 27, 2018 at 06:27 PM
@Figment_Beennn i know it is an old post but did you find any solution?I am at the last stage of my application and this is my only problem. It is for a location based game and I want my GPS to work even when the user doesn't have the gearvr on so when he is in a specific location to trigger a sound clip and alert him to put it on.Unfortunately Run in background is not working in android.Anybody here to help? i am stuck on this for days... (unity 2018.1.0f2 , oculus utilities 1.25)
Your answer
Follow this Question
Related Questions
Errors trying to build apk for Daydream mirage solo headset 0 Answers
Android Move and rotate to game 0 Answers
android camera rotation using gyro sensor 1 Answer
How to move the camera in VR mode? 2 Answers
Send variables from client to server 0 Answers