This repository was archived by the owner on Nov 8, 2019. It is now read-only.
Description Application always crashes after showing a permission request dialog by calling GvrPermissionsRequester.RequestPermissions().
Found using:
Google VR SDK version: v1.110.0
Unity version: 2017.3.0f3
Phone manufacturer, model, and O/S version: Google Pixel, Android Oreo 8.1.0
Viewer manufacturer & model: Google Daydream View
Steps to reproduce the issue:
Creating a new Unity project and import Google VR SDK
Build and run the PermissionsDemo scene
Click on "Request Permission"
Click on either Allow or Deny
Application crash
Logcat recorded the following exception:
12-25 21:37:12.139: E/AndroidRuntime(5878): FATAL EXCEPTION: main
12-25 21:37:12.139: E/AndroidRuntime(5878): Process: com.test.permission, PID: 5878
12-25 21:37:12.139: E/AndroidRuntime(5878): java.lang.IllegalArgumentException: Argument 'pendingVrExitIntent' cannot be null
12-25 21:37:12.139: E/AndroidRuntime(5878): at android.os.Parcel.readException(Parcel.java:2008)
12-25 21:37:12.139: E/AndroidRuntime(5878): at android.os.Parcel.readException(Parcel.java:1950)
12-25 21:37:12.139: E/AndroidRuntime(5878): at com.google.android.aidl.BaseProxy.transactAndReadException(BaseProxy.java:46)
12-25 21:37:12.139: E/AndroidRuntime(5878): at com.google.vr.vrcore.common.api.IDaydreamManager$Stub$Proxy.exitFromVr(IDaydreamManager.java:539)
12-25 21:37:12.139: E/AndroidRuntime(5878): at com.google.vr.ndk.base.DaydreamApi$8.run(DaydreamApi.java:702)
12-25 21:37:12.139: E/AndroidRuntime(5878): at com.google.vr.ndk.base.DaydreamApi$1.onServiceConnected(DaydreamApi.java:109)
12-25 21:37:12.139: E/AndroidRuntime(5878): at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1652)
12-25 21:37:12.139: E/AndroidRuntime(5878): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1681)
12-25 21:37:12.139: E/AndroidRuntime(5878): at android.os.Handler.handleCallback(Handler.java:790)
12-25 21:37:12.139: E/AndroidRuntime(5878): at android.os.Handler.dispatchMessage(Handler.java:99)
12-25 21:37:12.139: E/AndroidRuntime(5878): at android.os.Looper.loop(Looper.java:164)
12-25 21:37:12.139: E/AndroidRuntime(5878): at android.app.ActivityThread.main(ActivityThread.java:6494)
12-25 21:37:12.139: E/AndroidRuntime(5878): at java.lang.reflect.Method.invoke(Native Method)
12-25 21:37:12.139: E/AndroidRuntime(5878): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
12-25 21:37:12.139: E/AndroidRuntime(5878): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Reactions are currently unavailable
Application always crashes after showing a permission request dialog by calling
GvrPermissionsRequester.RequestPermissions().Found using:
Steps to reproduce the issue:
Logcat recorded the following exception: