Unity Android VR: Bluetooth Notification Causes Hang.
I'm making a VR game with a second screen companion app. The second screen connects to the VR server over Bluetooth but when an Android system notification is scheduled to appear (to ask either "if it is ok to make the device discoverable" or "if I want to pair with this device") the notification doesn't appear and the rendering hangs in the background. I suspect that Unity is being suspended while the notification displays but I cannot see the notification to dismiss it and resume Unity.
My understanding was that this commonly happened in Unity 5.3 and below with Android permission notifications but as of 5.4. these notifications now display as soon as the app starts (probably before whatever VR rendering magic happens).
Is there a solution to this problem or can anyone suggest a viable workaround?
More info: Unity Version 5.6 Samsung GearVR using OVR SDK
EDIT UPDATE:
When I run the app in "developer mode" (an OVR mode that renders the game on device without the VR headset) the notifications appear and I'm able to continue. However the notification appears over the top of the dual rendered screen and not per-eye. This seems to confirm that the issue is due to the notification not being rendered for VR.
Your answer
Follow this Question
Related Questions
Why this tutorial doesn't work? 0 Answers
No GearVR in My app, But it always start GearVR when I start my app! 0 Answers
Web Browser INSIDE GearVR 0 Answers