Forum Discussion
rfunk82
8 years agoExplorer
Pause game when Oculus home was pressed (App rejected)
My app was rejected because it fails to "When bringing up the Universal Menu, the gameplay should pause in the background."
Is this a setting that I have to enable/disable? or somewhow I need to create this behavior from scratch?
Thanks!
Is this a setting that I have to enable/disable? or somewhow I need to create this behavior from scratch?
Thanks!
4 Replies
Replies have been turned off for this discussion
- rfunk82ExplorerAlso, I did uncheck "Run in background" from Player Settings, but it did nothing, game still runs when I press the Oculus Home button
- rfunk82ExplorerThis seems to happen only in the unity editor. I ran the game outside of the editor (.exe) and it works fine.
- justin.wasilenkoProtegeYou need to pause the game itself using something like this://Pause the AudioListenerAudioListener.pause = true;//Pause the game by setting time to 0Time.timeScale = 0.000001f;
- ApprovedAnonymousSomeone could fix it?
I unchecked run in background, but the app is still not paused when the user removed the HMD.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device