Forum Discussion

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

OVRInputModule stops working when the VR headset is moved

Hello,

 

I'm using the OVRInputModule eventsystem to have controller interaction with some UI elements. When the Quest 2 is stationary everything works fine. When I move my Quest 2 around it stops getting hits with my UI elements (It also happens with none UI elements) and it never works again until I restart the game. The same behavior happens when building and running the game directly on the Quest 2.

I was using the Oculus Integration v37 and update to v39 didn't fix it.

I don't do anything special when moving the headset so it seems to me that it's a bug with the OVRInputModule. Does anyone have a solution for this?

  • I decided to simplify the issue in a whole new unity project. For some unknown reason, the simplified version decided to work in the new project. Then I transferred all my code to the new project and it works! I don't find any differences between the two projects but it works!

1 Reply

  • The_MG's avatar
    The_MG
    Honored Guest

    I decided to simplify the issue in a whole new unity project. For some unknown reason, the simplified version decided to work in the new project. Then I transferred all my code to the new project and it works! I don't find any differences between the two projects but it works!