Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Help Wanted problems with button interactions with SteamVR plugin

Discussion in 'VR' started by vanhalstlouis, May 12, 2020.

  1. vanhalstlouis


    Apr 2, 2020
    I'm new with Unity and VR and I want to make a tutorial for my little VR game I made.
    The player needs to cycle thru the screens with a back and next button. These buttons work perfectly in the simulator on screen (not with controllers and headset).
    When I test it with the headset, the buttons bug out. Click events don't always register and it does click-actions that I didn't assign (example: it skips a few screens and shows a wrong screen).

    I have other canvases with buttons in the scene, these work perfectly in VR.

    Here is an example of 1 screen:


    Hierarchy of 1 tutorial section with the different panels.

    All the components in the button element. I'm using the interactable and UI element script from SteamVR. The Click-events in the UI element are normally correct (because they work without VR)

    What am I doing wrong?