[Gear VR] How to shut down app on exit to the Store?

When I use OVRQUITMENU or exit to Oculus Home from Universal Menu, shouldn’t the app/game shut down automatically ? If it should - then it’s a bug. If not, what do I need to do to shut it down?

If I do nothing, then when I get the phone out if Gear VR, the app is still running in the background. When using Gear VR, it takes away memory and processing power that could be utilized by another Gear VR app/game.

Thanks.

Can’t do that. Once OVR cmd is issued, Oculus SDK takes over to my knowledge. So if I use QuitGame function, and want to go back to my game, I wouldn’t be able to.

do you want to shut down the game or not? i don’t know much about Gear VR, but i assume you have a choice between leaving the game running in the background and wasting memory, or shutting it down with quit game and needing to boot back up to return.

If I simply want to quit the game, I’d use that function. Gear VR is no ordinary Android platform and there are requirements that have to be met.

Oculus said that it should close itself automatically, and if it doesn’t - it might be bug. I just need to debug it and give them logs.

Although thanks for stepping in!

Epic devs, Oculus said the app should shut down automatically (not sure whether UE4 or SDK should be doing that) and requested logcat. I posted logcat and details on Oculus’ website: Solved: [Gear VR] How to shut down app on exit to the Stor... - Oculus Community - 381582

So it could be UE4 issue, since Unity games shut down properly when exiting to Oculus Store. Here is a discussion with Oculus that includes logcats: https://forums.oculus.com/developer/discussion/comment/359685#Comment_359685

There ya go:

http://s24.postimg.org/is75xei7n/ue4_close_app.png

Full image: http://s24.postimg.org/is75xei7n/ue4_close_app.png

Maybe Epic can make sure it’s there by default, so that when people deploy with 4.11.x they don’t have to remember to put it into Project Settings manually.