Skip to main content
Participant
November 26, 2017

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!
This topic has been closed for replies.

4 replies

rfunk82Author
Participant
November 27, 2017
Also, I did uncheck "Run in background" from Player Settings, but it did nothing, game still runs when I press the Oculus Home button
rfunk82Author
Participant
November 27, 2017
This seems to happen only in the unity editor. I ran the game outside of the editor (.exe) and it works fine.
Up and Coming
November 28, 2017
You need to pause the game itself using something like this:

        //Pause the AudioListener
        AudioListener.pause = true;

        //Pause the game by setting time to 0
        Time.timeScale = 0.000001f;
March 28, 2019
Someone could fix it?
I unchecked run in background, but the app is still not paused when the user removed the HMD.