SimonAmpleman
10 years agoHonored Guest
Gear VR - Problem when the device is unused for 30 to 90 min
Hello,
We developed a Unity application for the Gear VR using the latest Oculus Mobile SDK.
It works well. However, we are facing a major problem right now. If the gear vr is unmounted and left on a table for a variable amount of time, when we take it back, there is only a black screen.
The problem seems to be that when it's undock, the ProximityReceiver in vrapi is shut down by the ActivityManager :
I/ActivityManager( 871): Killing 12024:com.oculus.home/u0a71 (adj 15): empty for 3070s
So, when the user mount the gear vr, the proximity sensor is not triggered and Unity doesn't resume the application.
Any clue on how to fix this? Our application really needs large delay between session when it's unused and the phone can't be removed from the headset each time to restart the application. Maybe there is a command in the VrApi to restart most of its broadcast receiver classes ? Or, can we add something in the Unity project to make sure none of these receivers won't be killed by the ActivityManager ?
Thank you.
Simon
We developed a Unity application for the Gear VR using the latest Oculus Mobile SDK.
It works well. However, we are facing a major problem right now. If the gear vr is unmounted and left on a table for a variable amount of time, when we take it back, there is only a black screen.
The problem seems to be that when it's undock, the ProximityReceiver in vrapi is shut down by the ActivityManager :
I/ActivityManager( 871): Killing 12024:com.oculus.home/u0a71 (adj 15): empty for 3070s
So, when the user mount the gear vr, the proximity sensor is not triggered and Unity doesn't resume the application.
Any clue on how to fix this? Our application really needs large delay between session when it's unused and the phone can't be removed from the headset each time to restart the application. Maybe there is a command in the VrApi to restart most of its broadcast receiver classes ? Or, can we add something in the Unity project to make sure none of these receivers won't be killed by the ActivityManager ?
Thank you.
Simon