Gear VR Back Button to Confirm Quit Menu
I have found that using OVR Utilities Plugin 1.19 I am able to either add the OVRPlatformMenu script to the scene, or listen for any of these:
As soon at I have updated to 1.23 or even 1.24, this breaks. I notice if I simply place "OVRManager.PlatformUIConfirmQuit();" in the Update method I instantly get the "Confirm Quit" menu, so can confirm that code works, and if I mash the back button on the Gear VR it sometimes goes to the menu, which is very strange.
If I choose "Disable OVR Utilites Plugin" in Unity and return to 1.19 it works perfectly again.
Is this a known bug or am I using an out of date way of accessing the menu or tracking the back button is being pressed?
I am using Unity 2013.3.0f3
Thanks.
if (OVRInput.GetDown(OVRInput.Button.Back) || OVRInput.GetDown(OVRInput.Button.Two) || Input.GetKey(KeyCode.Escape) || Input.GetKeyDown(KeyCode.Escape)) {
OVRManager.PlatformUIConfirmQuit();
}
I am able to get to the "Conform Quit" menu.As soon at I have updated to 1.23 or even 1.24, this breaks. I notice if I simply place "OVRManager.PlatformUIConfirmQuit();" in the Update method I instantly get the "Confirm Quit" menu, so can confirm that code works, and if I mash the back button on the Gear VR it sometimes goes to the menu, which is very strange.
If I choose "Disable OVR Utilites Plugin" in Unity and return to 1.19 it works perfectly again.
Is this a known bug or am I using an out of date way of accessing the menu or tracking the back button is being pressed?
I am using Unity 2013.3.0f3
Thanks.
