Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
studiopao's avatar
studiopao
Explorer
7 years ago

OVRInput.Get() not working anymore, older builds also affected

Hello,

I'm facing a weird problem in my latest Unity build : neither the remote nor the touch controller inputs are detected anymore... I built the game a couple of weeks back and everything worked fine... The hardware is well detected and everything else works fine (access to the oculus menu, playing other oculus games, etc...).
I built in Unity 2017.2.0f3, using OVR plugin 1.22.0, then 1.27.0 but the same issue occurs with Unity 2018.2.0b9 and OVR plugin 1.25.

I tested the same build on another computer with no success...

Was there a recent driver update or something like that ? I cant understand how a working build can be affected all of a sudden !

Here is a code snippet used for debug purpose, the "Update" log appears but not the "Button Down". The script is used in combination of an OVR Manager.

void Update ()
    {
        OVRInput.Update();
        Debug.Log("Update");
        if (OVRInput.Get(OVRInput.Button.Any))
            Debug.Log("Button Down");
    }

14 Replies

Replies have been turned off for this discussion