Forum Discussion
SKnight_Phygita
7 years agoHonored Guest
Sideloaded Unity App Only Working Once On GO
I'm having a weird issue where a sideloaded Unity app will work fine the first time you launch it, but if you exit to the home screen and then try to run it again it just hangs on a black screen. Only way to get out of it is to reboot the headset.
I've tried this with my application and a blank unity application with the same results. I've also uploaded the app as an alpha build through the developer dashboard, again with the same results.
My guess is that something isn't being handled properly when quitting the application but I can't find any resources or other cases of this happening?
Unity version: 2018.2.0b6
I've tried this with my application and a blank unity application with the same results. I've also uploaded the app as an alpha build through the developer dashboard, again with the same results.
My guess is that something isn't being handled properly when quitting the application but I can't find any resources or other cases of this happening?
Unity version: 2018.2.0b6
5 Replies
Replies have been turned off for this discussion
- SKnight_PhygitaHonored GuestHere's the log from the point of attempting to launch the app for the second time
- SKnight_PhygitaHonored GuestTurns out that if I check for an escape key press and call Application.Quit() when that happens, the back button on the Oculus Go controller quits the app properly so that it can be relaunched.
However when pressing the Oculus Home button to pause the application and then pressing quit with the trigger, the app isn't shutting down correctly and cannot be relaunched. - kerskMeta EmployeeFYI, Unity is working to resolve this for the final 2018.2.0 release.
- AnonymousMy Hack (and I'm still working on it is...) to resign my self to Application.Quit() the app as soon as Application.OnPause is called, this isn't great as this is called when home is pressed but the app is suspended immediately it seems. Then when the app is relaunched it actually quits gracefully, and can then be relaunched properly without actually hanging the whole Oc Go.I'm going to try doing a Scene load to the splash screen instead of a quit to see if that works better. (I don't think it will)
- kerskMeta EmployeeThis is fixed in the final Unity 2018.2.0f2 build that was recently released.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device