A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/googlevr/gvr-unity-sdk/issues/822 below:

App crashes after showing permission request dialog · Issue #822 · googlevr/gvr-unity-sdk · GitHub

Application always crashes after showing a permission request dialog by calling GvrPermissionsRequester.RequestPermissions().

Found using:

Steps to reproduce the issue:

  1. Creating a new Unity project and import Google VR SDK
  2. Build and run the PermissionsDemo scene
  3. Click on "Request Permission"
  4. Click on either Allow or Deny
  5. 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)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4