Skip to main content
New Participant
May 9, 2022
Solved

OVRInputModule stops working when the VR headset is moved

  • May 9, 2022
  • 1 reply
  • 961 views

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?

Best answer by TheMG

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

TheMGAuthorAnswer
New Participant
May 9, 2022

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!