cancel
Showing results for 
Search instead for 
Did you mean: 

How to detect if in Universal Menu?

jlucka
Not applicable
Hey there, we've got a game made in UE4 that I'm preparing to get up on Oculus store. One of the submission requirements is that the game is paused while the player goes into the Universal Menu (ours currently does not do that, and plays through the interactive sequence). Does anyone know the best way I can detect if the user is currently viewing the Universal Menu? Thanks!
3 REPLIES 3

OpticKing
Expert Trustee
Shot in the dark, if there's a way to monitor controller input you could do so when it detects the "home" button pressed on the pad, or oculus logo button on the remote.

rboerdijk
Honored Guest
Apparently you can't detect if the Universe Menu is open, but you can check for whether your application has focus (which it doesn't with the UM open) with ovrSessionStatus.IsVisible, The sessionstatus-struct is filled in by a call to ovr_GetSessionStatus(...).

Alighieri2000
Explorer

Just in case anyone is looking for a way to do this with just blueprints, "has input focus" is now built into the metaXR plugin.
https://developer.oculus.com/documentation/unreal/overlays-and-input-focus/

Still need help?

Did this answer your question? If it didn’t, use our search to find other topics or create your own and other members of the community will help out.

If you need an agent to help with your Meta device, please contact our store support team here.

Having trouble with a Facebook or Instagram account? The best place to go for help with those accounts is the Facebook Help Center or the Instagram Help Center. This community can't help with those accounts.

Check out some popular posts here:

Getting Help from the Meta Quest Community

Tips and Tricks: Charging your Meta Quest Headset

Tips and Tricks: Help with Pairing your Meta Quest

Trouble With Facebook/Instagram Accounts?