Forum Discussion
TedBrown
9 years agoHonored Guest
VRFocusLost / Acquired is not being called on builds
I'm trying to utilize OVRManager.VrFocusAcquired and OVRManager.VrFocusLost to tell a UI Canvas in Screen Space (which is only visible on the monitor) to show "nothing" (if the headset is on) or instructions on how to put the headset on (if the headset is off).
This _works_ in the editor. I see on-screen text indicating the change in status, and if I press a key my local boolean "hasVRFocus" (which is set in the delegates) reports correctly.
It does _not_ work in a build. My delegates are not being called. I get no on-screen text updates from those methods (while others work fine), and "hasVRFocus" always reports its initial value.
This is with Unity 5.4.0p2 and Oculus 1.6 on Windows 8.1, using a CV1, in a custom project created solely to test this feature.
Looking for assistance!
This _works_ in the editor. I see on-screen text indicating the change in status, and if I press a key my local boolean "hasVRFocus" (which is set in the delegates) reports correctly.
It does _not_ work in a build. My delegates are not being called. I get no on-screen text updates from those methods (while others work fine), and "hasVRFocus" always reports its initial value.
This is with Unity 5.4.0p2 and Oculus 1.6 on Windows 8.1, using a CV1, in a custom project created solely to test this feature.
Looking for assistance!
1 Reply
Replies have been turned off for this discussion
- kerskMeta EmployeeHi Ted, there may in fact be a bug here. I'll ask our QA to take a look.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago