cancel
Showing results for 
Search instead for 
Did you mean: 

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

80dots
Level 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 3

80dots
Level 2
@imperativity

Thank you. I added the detail code at another issue post.
LINK

80dots
Level 2
@imperativity

Thank you. I added the detail code at another issue post.
LINK

Anonymous
Not applicable


@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?