Hello community,
I want to ask, if someone else has problems with ARFoundation on a Samsung S22 Ultra. I don’t even can get the SimpleAR scene working from the samples. After installing and starting the app, I see the splash screen, the camera permisson gets requested and after that point, where usually the camera gets initialised, the phone immediately freezes. Then I have to wait and press the power button to crash the app. I think this is a bug or an incompatibility issue from ARFoundation, because I tested other apps from the PlayStore, which also use ARCore but without Unity, and they work just fine. But maybe I am missing something. I used everything up to date:
IDE and packages:
*Unity 2021.2.13f1
*ARFoundation 5.0.0-pre.8 (and all of its resources like Google ARCore XR Plugin from github)
*XR Core Utilities and XR Interaction Toolkit 2.0.0.-pre.6
S22 Ultra:
*see screenshot
EDIT: I even tried to set the target api to level 31 (Android 12). The Android module shipped with the Unity Hub installation doesn’t support this level, so I got an build error. Nevertheless I already fixed it by updating the SDK through the sdkmanager.bat in the Unity Editor’s …/Editor/Data/PlaybackEngines/AndroidPlayer/… folder. With this the build error is resolved and I can build for target api level 31, but the app still isn’t working on the phone (same issue as mentioned above). I also tested the same build on my older Samsung S9+, there everything works fine.