Search Unity

ARFoundation AR camera black background issue after install on Android

Discussion in 'AR/VR (XR) Discussion' started by VamirehGo, Aug 1, 2019.

  1. VamirehGo

    VamirehGo

    Joined:
    Mar 8, 2019
    Posts:
    4
    When I install apk on android, with camera permission window comes issues and AR camera not working.
    If I plug game directly from unity there is no issues.
    The issue comes when I switched to IL2CPP
    Unity 2019.4.1
    AR Foundation 2.2
    AR Core XR Plugin 2.1.1
     
    Last edited: Aug 1, 2019
  2. VamirehGo

    VamirehGo

    Joined:
    Mar 8, 2019
    Posts:
    4

    Attached Files:

  3. fotalik

    fotalik

    Joined:
    Sep 23, 2017
    Posts:
    24
  4. fotalik

    fotalik

    Joined:
    Sep 23, 2017
    Posts:
    24
    I clone ARFoudationSamples project, create an APK (Build) and try to install directly to my android device (Samsung S10), and the background is black, but when I tested it through (Build and Run) then everything is working.