Skip to main content
New Participant
April 9, 2023

Check for if the headset has been turned off

I am working on a project inside of Unity using the Unity XR Framework and i have came across an exploit players may be able to use to skip certain events if they put their headset to sleep. I was curious if there were a way to check if a player has put their headset to sleep to provide a warning and or punishment if they abuse the issue. Thankyou : )

1 reply

New Participant
May 30, 2023

You might want to check this older post: it's a bit different from what you want but with minimal logic implementation you should get what you are looking for: https://communityforums.atmeta.com/t5/Unity-VR-Development/Oculus-Quest-with-Unity-HMD-Mount-Unmount-Events-not-being-fired/td-p/880464