Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
jc-crash's avatar
jc-crash
Honored Guest
6 years ago

OVRInput doesn't find Rift S Controllers

Hi all,

I have just tried integrating the new Rift S headset into my project and it all works except for Input. I can see my scene, and I can see my controllers, but Input can not be found. I tried finding any input using:
if (OVRInput.Get(OVRInput.Button.Any, OVRInput.Controller.Active)) {
   Debug.Log("input...");
}
and I got no read out to the console on any button press. Then I tried adding:
OVRInput.GetConnectedControllers()
to the Start() function, and it returns 'None'. I am however getting this readout in the console when I hit play:
OVRControllerHelp: Active controller type: QuestAndRiftS for product Oculus Rift S
These are the version details of my application (I just updated to ensure that was not the issue):
Unity v2019.1.12f1, Oculus Utilities v1.46.0, OVRPlugin v1.46.0, SDK v1.46.0.
Thanks.



1 Reply

Replies have been turned off for this discussion
  • jc-crash's avatar
    jc-crash
    Honored Guest
    In case anybody else has this same issue, it appears to be the version of Unity. I made a separate dummy project importing the necessities and created a blank script in the same version (2019.1.12f1) and OVRInput wasn't working.
    I made the same dummy project from scratch in 2018.4.13f1 and it worked. So I upgraded my original project to 2019.3.5f1 and it works! 
    Fix: Do not use v2019.1.12f1
    Note: GetConnectedControllers() still returns None, but input works (i.e. OVRInput.Get(...)).