Hello all,
I have the following initial situation:
Android AR application with AR core
unity 2022.3.7f1
AR foundation 5.0.7
URP 14.0.6
Test device: Lenovo Tab P11 (2nd Gen)
The problem with my AR application is that my builds render a blackscreen on startup. It doesn’t even show the unity logo beforehand and no logs are created. When I exit and re-enter the application, I get to my start scene without any problems. I have tried all graphics-, player-, quality- and buildsettings, but I just can’t get any further.
I just tried to launch the apk file via bluestacks, and after a short blackscreen time I get the error: “Unable to initialize the Unity Engine Gfx API.”
does anyone know what this could be? i have even created a sample scene with only the most necessary settings, but it has the same problem.
Yeah, I already tried that. The curious thing is that everything has worked before; I was already able to develop a decent, working application. At some point I had to update the Unity version and only since then the error occurred.
We are aware of an issue where if you have the “AR” Feature Set checked in Package Manager, it can cause blackscreen issues on Android. The workaround posted by @llapalomenta is correct. We’re currently working on this issue.
@NAU_FLION You don’t have to use just ARCore. You can install any combination of packages, just not the Magic Leap package. This issue has been assigned to the Magic Leap team and is in progress.