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.
  2. Dismiss Notice

Exception Arcore.arcorepermissionmanager On First Start

Discussion in 'AR' started by fotalik, Apr 12, 2019.

  1. fotalik

    fotalik

    Joined:
    Sep 23, 2017
    Posts:
    24
    When I first launch my game, a pop-up window appears with Camera Permission, and when I confirm, an exception is thrown:


    AndroidPlayer(ADB@127.0.0.1:34999) Exception: No such proxy method: UnityEngine.XR.ARCore.ARCorePermissionManager.OnPermissionGranted(System.String)
    at UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, System.Object[] args) [0x0015a] in <475b552bfd7a47d2af4a24fcc4d6233d>:0
    at UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, UnityEngine.AndroidJavaObject[] javaArgs) [0x0004a] in <475b552bfd7a47d2af4a24fcc4d6233d>:0
    at UnityEngine._AndroidJNIHelper.InvokeJavaProxyMethod (UnityEngine.AndroidJavaProxy proxy, System.IntPtr jmethodName, System.IntPtr jargs) [0x00065] in <475b552bfd7a47d2af4a24fcc4d6233d>:0

    (Filename: <475b552bfd7a47d2af4a24fcc4d6233d> Line: 0)


    However, the second launch is normal.
     
  2. fotalik

    fotalik

    Joined:
    Sep 23, 2017
    Posts:
    24
    Oh, i solve my issue: Project Settings -> Player -> Android and set Stripping Level to Disable.
    But another question, how can i run it with Stripping?
     
    nilsdr and Dan_f like this.
  3. Unsui

    Unsui

    Joined:
    Oct 10, 2017
    Posts:
    3
    did not help