Search Unity

Resolved ArFoundation + ArCoreXrPlugin NOT working on Android 12

Discussion in 'AR' started by danielesuppo, Feb 21, 2022.

  1. danielesuppo

    danielesuppo

    Joined:
    Oct 20, 2015
    Posts:
    331
    Hello!
    I'm new to ARFoundation, but I've used ARCore sdk in the past, and I never had issues.

    Now I've created a very simple test (a cube floating in the space) with ArFoundation + ArCoreXrPlugin, just following this tutorial


    I've deployed the app with "Minimum API level" = Android 8.0, "Target API level" = Automatic
    It's perfectly working on an (old) SamsungS8 with Android 9, but it's not working at all on SamsungS10 with Android 12.

    In my AndroidStudio I have installed SDK 8,9 and 10.
    Sorry for my ignorance, but maybe should I install the AndroidStudio SDK 12, to make it work?
    Or maybe is it a bug?

    Many thanks!
     
  2. todds_unity

    todds_unity

    Joined:
    Aug 1, 2018
    Posts:
    324
  3. danielesuppo

    danielesuppo

    Joined:
    Oct 20, 2015
    Posts:
    331
    Many thanks, now it's working!
     
  4. RoryG1

    RoryG1

    Joined:
    Jun 4, 2020
    Posts:
    1
    Hi, I'm currently having the exact same issue but on my Pixel5 with Android 12. How did you fix it?

    Thanks!