Issue using AR camera on android 11 in version 4.27.1

I have an AR app using ARCore that was built using engine version 4.26 and was running fine on my Android 10 device (OnePlus Nord). After leaving it alone for some time, and in the mean time upgrading my phone to Android 11, I suddenly have issues getting the live camera feed into the app. I upgraded UE4 to version 4.27.1 and updated Android Studio to version 4.0 (was on version 3.5) but the app keeps showing a black image where the camera feed should be.

I also created a new UE4 HandheldAR template project and deployed that to my phone, but nothing happens after pressing the “Start scanning” button. Is there anyone around who could help getting the phone camera to work in UE 4.27.1 on an Android 11 device (distribution Oxygen OS 11.1.5.5)?

It seems I found the solution to the issue myself. I found that the ARCore session status reported “Failed to create ARCore session with error status: -2”. Switching on “Support ARM64” in the settings and setting “Target SDK Version” to 24 enables ARCore to work properly on Android 11.

3 Likes

THANK YOU!!! it worked