ArFoundation + ArCoreXrPlugin NOT working on Android 12

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!

Have you tried building and deploying the AR Foundation samples project to your device?
https://github.com/Unity-Technologies/arfoundation-samples

Also, are you using the recommended default Android SDK in the Unity > Preferences > External Tools?

Many thanks, now it’s working!

Hi, I’m currently having the exact same issue but on my Pixel5 with Android 12. How did you fix it?

Thanks!