cancel
Showing results for 
Search instead for 
Did you mean: 

Unnecessary input focus messages are sent when opening and closing the Wi-Fi settings screen

korinVR
Level 5

In Quest development, we use InputFocusLost and InputFocusAcquired messages to pause the app. However, if you open the Oculus menu and further open or close the Wi-Fi settings screen, unnecessary InputFocusLost/InputFocusAcquired messages are sent, which makes the app works incorrectly.


Each Oculus Quest 1 and Quest 2 have different behaviors.


# On Oculus Quest 2

 

Symptom: When closing the Wi-Fi settings screen, unnecessary InputFocusAcquired and InputFocusLost messages are sent in a row.

 

OS version : 28.0.0.221.359.284529906
Runtime version : 28.0.0.230.359.286257763


- Open the Oculus menu
2021/04/27 14:08:30.147 11950 11973 Info Unity [OVRManager] InputFocusLost event
2021/04/27 14:08:30.179 11950 11973 Info Unity [OVRManager] OnApplicationFocus(false)


- Open the Wi-Fi settings screen
No messages are sent.


- Close the Wi-Fi settings screen
2021/04/27 14:09:04.312 11950 11973 Info Unity [OVRManager] OnApplicationFocus(true)
2021/04/27 14:09:04.313 11950 11973 Info Unity [OVRManager] InputFocusAcquired event
2021/04/27 14:09:04.340 11950 11973 Info Unity [OVRManager] OnApplicationFocus(false)
2021/04/27 14:09:04.341 11950 11973 Info Unity [OVRManager] InputFocusLost event


- Close the Oculus menu
2021/04/27 14:09:24.123 11950 11973 Info Unity [OVRManager] OnApplicationFocus(true)
2021/04/27 14:09:24.125 11950 11973 Info Unity [OVRManager] InputFocusAcquired event


# On Oculus Quest 1

 

Symptom: When opening the Wi-Fi settings screen InputFocusAcquired is sent. And when closing the screen InputFocusLost message is sent.

 

OS version : 28.0.0.221.359.284529906
Runtime version : 28.0.0.230.359.286257763


- Open the Oculus menu
2021/04/27 14:25:46.453 7406 7445 Info Unity [OVRManager] InputFocusLost event
2021/04/27 14:25:46.480 7406 7445 Info Unity [OVRManager] OnApplicationFocus(false)


- Open the Wi-Fi settings screen
2021/04/27 14:25:55.420 7406 7445 Info Unity [OVRManager] OnApplicationFocus(true)
2021/04/27 14:25:55.422 7406 7445 Info Unity [OVRManager] InputFocusAcquired event


- Close the Wi-Fi settings screen
2021/04/27 14:26:34.003 7406 7445 Info Unity [OVRManager] OnApplicationFocus(false)
2021/04/27 14:26:34.005 7406 7445 Info Unity [OVRManager] InputFocusLost event


- Close the Oculus menu
2021/04/27 14:26:58.312 7406 7445 Info Unity [OVRManager] OnApplicationFocus(true)
2021/04/27 14:26:58.313 7406 7445 Info Unity [OVRManager] InputFocusAcquired event

 

Katsuomi Kobayashi (@korinVR) at XVI Inc.
0 REPLIES 0