ARCore apk on Android freezes

Hello

Im trying to test an ARcore apk on Android.

I Have:

Unity 2022.1.19f1
ARCore XR plugin 4.2.7

My player settings:



Xr Settings with ArCore enabled.
My Scene:
8920406--1221992--upload_2023-4-1_13-8-6.png
Just that, default Ar game Objects., I have no ARSession Game object for testing but my problem persists with or without it.

I have not a compatible device for ARcore to test, so im using:

Android Studio → Device Manager → Emulating a Pixel 4 (API 31)
which worked well (using webcam) on a different build I tested with EasyAR which I discarde due to watermark.
But the important thing about this is that the problem isn’t Android Studio setup, as it worked before with EasyAR.
My problem: ---------------------------------------

I Can install the apk on the emulator, it runs, it ask me for camera permissions and then it freezes.
Not black screen just freezes**:**

8920406--1221989--upload_2023-4-1_13-5-12.png

Note how the screen color that persist isn’t black is the same dark brownish color that unity shows when opening the app and says “Made with Unity” (also when i turn off the device from the emulator it turns really black, the color changes). I even changed the background colour on my scene to a light one so I can discard the problem is in the scene, it seems it never gets to the scene, just freezes loading.

This happened too with Vuforia on another separated test! and as I said EasyAr works.

I need help to fix this please!
thanks

8920406--1221977--upload_2023-4-1_12-56-5.png

Did you test it on an actual device?
Emulators are not ARCore compatible afaik

2 Likes