Forum Discussion
Anonymous
9 years agoNot applicable
[GearVR] Video only playing on first launch on some devices
I'm currently working on a GearVR experience which involves playing some video, and I'm having a problem with the playback on Note 4 and Note 5 devices, after uploading the app to Oculus Home. I've...
vrdaveb
9 years agoOculus Staff
On Gear VR, there is a known issue where OnApplicationQuit() doesn't get called when you use the Universal Menu to quit and go to Home. However, the OnApplicationPause() does get called before the Universal Menu comes up. I would recommend moving any shutdown logic from OnApplicationQuit to OnApplicationPause.
A little more background: this is happening because we call finish() on the app and Unity exits as quickly as possible without giving control back to scripts. It's similar to the behavior when an app gets killed from the background due to memory usage, so you need to handle it gracefully anyway.
A little more background: this is happening because we call finish() on the app and Unity exits as quickly as possible without giving control back to scripts. It's similar to the behavior when an app gets killed from the background due to memory usage, so you need to handle it gracefully anyway.
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
- 3 years ago
- 3 years agoAnonymous
- 2 years ago