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()
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)
