Skip to main content
bzor
Up and Coming
November 17, 2015

GearVR back button disabled after returning from global menu

I'm having trouble implementing the proper back button functionality.. I'm detecting the long press similar to how it's set up in the sample SDK file, and it goes to the OVR Platform Global Menu correctly, but after it returns the back button is disabled the first time you press it.

I tried just logging

Input.GetKeyDown(KeyCode.Escape)


in Update and it doesn't log anything until I press/release the back button once. After that it works like it should again.

I also have the single press back button going out to the PlatformUIConfirmQuit screen, and if you return from that the back button works fine, it's just on return from the Global Menu it's disabled until you click it once.

thanks for any insight!
-kc
    This topic has been closed for replies.

    11 replies

    bzor
    bzorAuthor
    Up and Coming
    November 17, 2015
    also I'm on PC/win8.1 / unity 5.2.2p2 / 0.8.0.0
    Inspiring
    November 17, 2015
    Yes, this is a known bug with Unity. I'll check to see if there is a workaround.
    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
    Up and Coming
    December 14, 2015
    I seem to be running into the same issue. Is a workaround available?
    Inspiring
    December 14, 2015
    Last I heard there was not a good workaround (aside from a hack that's not recommended).

    But that was probably a month ago, so maybe things have changed. I can ask later this week.
    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
    New Participant
    December 17, 2015
    Yay, glad it's not just me. Hopefully this bug won't cause an app to be disqualified from sale. I've tried quite a few experiments to fix and work around the issue but nothing causes a proper button press from Input so it's pretty moot.
    Inspiring
    December 17, 2015
    This appears to be fixed in 5.3.0p1, which is shipping in a couple of days.
    Inspiring
    December 17, 2015
    The fix will be released very soon, so hang tight.

    EDIT: LOL, Dave beat me to it.
    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
    bzor
    bzorAuthor
    Up and Coming
    December 22, 2015
    ok great.. I'll give it a test and let you know how it goes.


    thanks!
    -kc
    New Participant
    January 13, 2016
    The problem still persists :?
    New Participant
    January 14, 2016
    I had the same problem with implementing back button on 5.3.0f4.
    I tested today on 5.3.1f1 and it works.