Skip to main content
tieu51
New Participant
July 11, 2023

How to pause game when taking off the Hmd?

Hi everyone,

I'm a new french developer on quest 2, with unity and open xr, and I try to implemant the paused game when taking off the hmd.

This is necessary to be compliant with app lab & meta store ...

I succeed to pause game with a button but I'm not able to use the 'presence user' to apply it on remove the hmd, if anyone have the solution ...

Thanks in advance 🙂

    This topic has been closed for replies.

    2 replies

    Honored Contributor
    July 11, 2023
    tieu51
    tieu51Author
    New Participant
    July 18, 2023

    Hi baroquedub,

    Don't be sorry : it's really kind to answer me :).

    I watch all the link that you gave to me but I must not be gifted. I only found a piece of code in this (https://forums.oculusvr.com/t5/Unity-VR-Development/Correct-way-to-pause-game-when-headset-removed-D...) but some parts are missing, or I don't understand all of the solution ...

    Nevertheless, I thanks you very much.

    There is this link