Skip to main content
Participant
February 19, 2017

VRInput.GetDown only working intermittently

This only works... sometimes. I can't figure out any pattern.

It will work fine, and then I move the player and... nothing. And If I wait a while or move again and get lucky... It starts working again. I'm new to this and must be doing something obvious wrong.

 void Update()
    {
        if (OVRInput.GetDown(OVRInput.Button.One))
        {

            Debug.Log("Button Pushed!");

            AudioSource audio = GetComponent<AudioSource>();
            audio.Play();

        }
    }


Unity v5.5.0f3, Oculus Utilities v1.11.0, OVRPlugin v1.10.0, SDK v1.11.0.
UnityEngine.Debug:Log(Object)
OVRManager:Awake() (at Assets/OVR/Scripts/OVRManager.cs:570)
    This topic has been closed for replies.

    1 reply

    wynottAuthor
    Participant
    February 19, 2017
    Ohhh just figured out that if the right controller isn't present it thinks button 3 is button 1. So... I guess you have to check what controllers are present manually? Really?