Search Unity

Question XR UI Button not working

Discussion in 'XR Interaction Toolkit and Input' started by Dimitrigaming, Jun 1, 2022.

  1. Dimitrigaming

    Dimitrigaming

    Joined:
    Nov 6, 2016
    Posts:
    1
    So I have a ui button in world space that I can to click with my vr controller. I have followed many tutorials trying to get this setup and they all show basically the same thing. However, when I set it up my controller and the buttons, all I can do is hover over the buttons but not click them. I also tried to click the buttons with my mouse and that works. It's only my vr controller that will not click the button. I have a HTC Vive btw, and am using SteamVR.
     
  2. VRDave_Unity

    VRDave_Unity

    Unity Technologies

    Joined:
    Nov 19, 2021
    Posts:
    275
    Hi @Dimitrigaming,
    I have a couple of questions for you. Are you using the XR Interaction Toolkit for this project? If so, are you using the XR Controller (Action-based) or (Device-based) for your interactions? Are you able to provide a slimmed-down version of the project or a clean project with only the UI configuration you have wired up for us to look at?