Skip to main content
New Participant
August 21, 2020

Cannot interact with UI components

I'm trying to implement UI using a LaserPointer and some Unity UI components (Dropdowns and Sliders).
I've got the scene set up with an OVRCameraRig and the OVRInputModule replacing StandaloneInput on the EventSystem.
I've added OVRPhysicsRaycaster to the OVRCameraRig and OVRRaycaster to the Canvas that my UI components live inside.
I set the Ray Transform of OVRInputModule to RightHandAnchor, and set Cursor to OVRCameraRig (which is where the LaserPointer component lives).

This has gotten me to the point where I see the laser pointer in the scene and, when I hover over UI components, they become selected.
Unfortunately, I can't interact with them. None of the buttons on the touch controllers trigger the dropdowns or grab the sliders. I know that the ray is hitting them, since they become selected when hovered. Any ideas on why they might not be interactable?

Thanks!
    This topic has been closed for replies.

    1 reply

    New Participant
    August 21, 2020
    So I figured out what the causing the problem!

    I had another component in the scene using the OVRInput class to read input values, and that seems to interfere with OVRInputManager's ability to detect clicks. That's pretty annoying, but at least I know now! Was this in the documentation somewhere that I should have noticed? It burned a whole day =(