Skip to main content
June 22, 2018

Touch controller inputs are not being detected in Unity

Inputs from my left and right touch controllers are not detected in Unity and only the hand presence, position and rotation are being detected. This would appear to only happen in Unity as in the demo games from the Oculus App (such as "First Contact" or "Google Earth VR") the button presses are detected. 

In a new project, I attached the following script to my touch controllers but the debug messages were not printed:
void Update () {
        if (OVRInput.Get(OVRInput.RawButton.A))
        {
            Debug.Log("A pressed");
        }

        if (OVRInput.Get(OVRInput.RawButton.RIndexTrigger))
        {
            Debug.Log("Triggered pressed");
        }
}

I am using:
- Unity 2018.1.6f1
- Oculus Utilities v1.25.1
- OVRPlugin v1.25.0
- SDK v1.27.0

I only have OVRCameraRig (with OVRManager enabled) and LocalAvatar in the scene.
    This topic has been closed for replies.

    3 replies

    June 26, 2018
    Thank you! This workaround fixes the problem. 
    New Participant
    August 22, 2018
    Uhhh, I am not seeing an answer to this question. Do you mind sharing what you did to fix this?
    New Participant
    August 28, 2020
    it's 2020 and this problem is still occurring... it's so annoying, I have to restart my pc and my oculus device, and then, sometimes, and only SOMETIMES, will the controllers work.... please solve this problem!