VR Game with Unity - no interactions with UI Button OnClick()

Hello community,

I am developing a Virtual Reality game, but I have a simple question about the User Interface interaction with a button in Unity. I am new to Unity and C#. I read almost all the information about this topic on Google and in Stackoverflow and unfortunately, I found no answer and no tutorial about it.

I have a button inside a panel and this panel is inside a canvas. I have onClick-EventTrigger on this button and I can play the game inside the Unity. When I do a test with VR glasses I can see the canvas and the button, but I cannot interact with the button.

I appreciate any guidance and advice.

I test my game with HTC Vive VR glasses.

Try to check if the SteamVR Input System is configured accordingly. Check the file “SteamVR Unity Plugin - Input System.pdf” inside your SteamVR asset folder to read more about it. I hope that helps. Otherwise, best of luck.