Forum Discussion
jc-crash
6 years agoHonored Guest
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:
and I got no read out to the console on any button press. Then I tried adding:if (OVRInput.Get(OVRInput.Button.Any, OVRInput.Controller.Active)) {
Debug.Log("input...");
}
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-crashHonored GuestIn 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.12f1Note: GetConnectedControllers() still returns None, but input works (i.e. OVRInput.Get(...)).
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 11 months ago