Forum Discussion

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

[Gear VR Controller] 'Back key' not working at Unity 2017.2

I'm using Unity 2017.2 and Oculus SDK 1.19.0.

For checking the status of Back key of My Gear VR Controller, I wrote the below simple code.

bool isBackPressed = OVRInput.GetDown(OVRInput.Button.Back);

When I tested...
  • Unity 2017.1 & Oculus SDK 1.18.0 : No problem.
  • Unity 2017.2 & Oculus SDK 1.18.0 : Back key is not work.
  • Unity 2017.2 & Oculus SDK 1.19.0 : Back key is not work.

I think that there is some problem when Unity update to OpenXR..

So.. I tried the below code.
bool isBackPressed = OVRInput.GetDown(OVRInput.Button.Back) || OVRInput.GetDown(OVRInput.Button.Two);
It's works... But sometimes it does not work.

I think that Oculus developers should check the Input System if they update to Unity 2017.2.

3 Replies

Replies have been turned off for this discussion
  • 80dots's avatar
    80dots
    Honored Guest
    @imperativity

    Thank you. I added the detail code at another issue post.
    LINK
  • 80dots's avatar
    80dots
    Honored Guest
    @imperativity

    Thank you. I added the detail code at another issue post.
    LINK
  • Anonymous's avatar
    Anonymous


    @80dots

    A fix for this will be released for Plugin 1.22, Unity 2017.1, Unity 2017.2, Unity 2017.3



    Hi! Does this mean Oculus Utilities 1.22 does not fix that yet and we have to wait for a fix to 1.22?