Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Javieret's avatar
Javieret
Honored Guest
10 years ago

Samsung Gear VR - Error on Pressing back button long-press r

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

3 Replies

Replies have been turned off for this discussion
  • Guys, I've just updated from Unity 5.1.1 to 5.1.2 and the problem has been solved. No errors ;)
  • "cybereality" wrote:
    Sorry for the delay, but thanks for following up.


    Anyway thanks for your implication in this forum. Hope this post can help to someone ;)