Forum Discussion
Javieret
10 years agoHonored Guest
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:
by
Full Code:
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
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
- JavieretHonored GuestGuys, I've just updated from Unity 5.1.1 to 5.1.2 and the problem has been solved. No errors ;)
- cyberealityGrand ChampionSorry for the delay, but thanks for following up.
- JavieretHonored Guest
"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 ;)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device