I am currently working to translate a VR game to the Oculus Quest 2 from a PC standalone version. In this game, I have created a VR menu with UI buttons that include triggers. These triggers have a script attached that when touched by the player, it will simulate the button being clicked.
This works as intended in the Unity Editor, however, when I build the game, none of the triggers work as the should. I am unsure what the reason could be.
I have adjusted the above code so that instead of looking for the objects named LeftHandAnchor and RightHandAnchor, I replaced these lines to look for tags instead.
So I decided to abandon the box colliders for the menu items and implemented the OVR Laser Pointer that is included in the Oculus Integration package. This allows me to access each menu item without needing to put colliders on them. The main issue I am having is with the Start Level button on this menu screen.
The Start Level button works as intended in the editor, however it does not function in the build version. Somehow, every other button functions as it should, which is baffling.
Just a question, is the build target JUST for Android or are you also suffering the same bugs in PC build with link/airlink cable also? And do you install the android build onto the headset and trying it as standalone or are you launching the android build from the pc?