Hi,
Some days ago I tried to upload to Oculus Store, people from Oculus Support tell me that report:
“The back button long-press returns the user to Oculus Home, instead of the Oculus Universal Menu. Please fix this and let us know when you have resubmitted. ”
I’m using “Unity 5 VR native” with “OculusUtilities_0_1_0_beta”. I tried to change the line:
Application.Quit();
by
OVRManager.PlatformUIGlobalMenu();
Full Code:
//If is a long press
if (_timeElapsedPressed >= LongPressDuration)
{
//Crashes on Gear VR
OVRManager.PlatformUIGlobalMenu();
//I did this call before
//Application.Quit();
}
else
{
//Is short press, return to main menu
Application.LoadLevel("01 - MainMenu");
}
But it crashes when I run it on Gear. I don’t know if this crash is for “OculusUtilities_0_1_0_beta” or if I need to add something new to scene.
Thanks for all