Skip to main content
Participant
August 3, 2015

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
    This topic has been closed for replies.

    3 replies

    JavieretAuthor
    Participant
    August 3, 2015
    Guys, I've just updated from Unity 5.1.1 to 5.1.2 and the problem has been solved. No errors ;)
    Inspiring
    August 3, 2015
    Sorry for the delay, but thanks for following up.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    JavieretAuthor
    Participant
    August 4, 2015
    "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 ;)