Forum Discussion
to_the_cosmic_end
10 months agoProtege
[Unity] App launch stuck in lock screen if the device is sleeping
I'm encountering an odd issue when launching my Unity app on Quest 2 using the "Build & Run" option with "Development Build" enabled. If the headset is in sleep mode during deployment, and I put it o...
GATORSAURU5
9 months agoMeta Employee
Hello there!
It sounds like Unity is registering your device as not connected if it's asleep while Unity tries to send the build to your headset, which can interrupt the Build & Run function. I've linked the documentation for the Build & Run function here in case it's helpful!
https://developers.meta.com/horizon/documentation/unity/unity-build/#generate-deploy-and-run-a-build
As a workaround, you could either try waking up the device before using Build & Run or try setting the sleep timer to keep your device awake longer if you're finding that you tend to test your builds frequently. To do this, go to settings > devices > find sleep timer setting, and then choose your desired time duration, this will extend the sleep timer.
Let me know if you have more questions!
-GATORSAURU5
- to_the_cosmic_end9 months agoProtege
Increasing the sleep mode timer (Settings > General > Power > Sleep Mode) did help, but at the cost of the headset heating up after extended use. A permanent fix would be ideal, allowing us to wake the device and use it normally. Thank you.
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
- 1 year ago
- 2 years ago
- 1 month ago