Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Cardboard VR Android - internal crash

Discussion in 'VR' started by GearedSun, Sep 1, 2022.

  1. GearedSun

    GearedSun

    Joined:
    Apr 17, 2014
    Posts:
    30
    Hello,

    this seems to be a rather new crash that I see from some of my users. I can't reproduce it myself on any of my Android devices though. It seems to be related to launching a Cardboard's UI intent for configuring the device. This process is handled completely by cardboard plugins and I have no control over it. I guess the GVR intent of the Cardboard App is missing the "exported" flag in Android manifest.

    I'm using Unity 2019.4.28f1 with the latest Android VR Package package 2.0.0. Unfortunately, there is no newer version. The only thing I can do right now is try latest Unity 2019 LTS, but I'm kinda skeptical that this would help.

    Mostly affected devices seems to be Android 6 and Android 10.

    I'd appreciate any help with isolating and fixing this issue.

    The Error:
    Code (csharp):
    1. java.lang.SecurityException: Permission Denial: starting Intent { act=com.google.vrtoolkit.cardboard.CONFIGURE cmp=com.google.samples.apps.cardboarddemo/com.google.vr.cardboard.paperscope.carton.Settings } (pid=3968, uid=10398) not exported from uid 10404
     
    Last edited: Sep 1, 2022