Clicking broken when minimized for VR

UI doesn’t respond to mouse interaction or click events when the application has lost focus or is minimized. This might sound like a normal thing but it’s not when you are using VR, since minimizing that application in Windows doesn’t mean the application isn’t visible.

We are weeks away from launching our product on steam and this is a really big problem for us.

Does anyone know if a recent unity update has caused this? Or if there is a way to force ui to continue registering mouse movement and click events?(we simulate this using raycasters and Windows events).

Thank you!

sry, not really sure.

but i was wondering if you had RunInBackground enabled?

side note:
this wont help you here, still prototyping it, Virtual Event’s for: Mouse, KB, Touch, Pad, is what i’m making for kissUI, and might get some dev’s closer to what you’re describing. So, even if the device doesn’t have any type of Input Device’s, they can be simulated, much like in a VM.
ex:

Thanks for the response! I actually found a solution (Thank the heavens).

I am using the Oculus SDK version 3.2, Im sure this isnt exactly kosher but if you take the code thats in the overridden Process function and put it into a FixedUpdate function, it works(Im sure there is a performance hit here but its better than not working at all). Im sure there must be some logic thats stopping the Process call on the StandAloneInputModule when unity is out of focus.

1 Like