06-20-2021 05:08 PM
Hi,
I am using XR Interaction toolkit and XR Plugin for the Oculus Quest 2. I'm trying to make it so that when the user presses the "A" button on the oculus quest 2 controller, It triggers this function and resets the camera.
In the attached image, the commented out code is the new and recommended way of doing it and the Uncommented one is the old/obsolete one.
Both methods work perfectly when I'm testing in the Unity editor with the Oculus Headset hooked up via Oculus Live link. When I build and run it on the headset, it doesn't work.
I'm not sure why this is happening. Can anyone help me please?
thanks