Forum Discussion
viteichris
8 years agoProtege
How do I correctly implement VR focus with Unity (To pass VRC.PC.Input.1)
I'm trying to make sure our app is ready to go, but I'm not certain on what exactly I can/should do to ensure we pass this VRC: Currently we drop into our pause menu when the app loses focus, but it...
viteichris
7 years agoProtege
OK, I'm back in the office and checked. Our pause function is complicated, but essentially it boils down to:
- Stop updating everything (timescale 0 or whatever)
- DISABLE cameras. (this is the important one)
The validator is checking for "app must not submit frames", so if you do `camera.enabled = false` or `camera.gameObject.SetActive(false)` then that camera will stop rendering frames and the validator won't see any!
afaict, the validator can't really tell what's happening with input, so you just have to ensure manually that your app isn't doing anything whilst it's in this "pause" state.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device