Hi everyone,
I have this black screen issue with AR.
I am using latest Unity version on linux and have downloaded the following packages: AR Foundation ARCore XR Plugin ARKit XR Plugin.
I have switch on ARCore on XR Plug-in Management, removed ‘Vulkan’ from ‘Graphics APIs, set Minimum API Level to 24, my phone is set up and have ARCore installed…
If anyone have answers, i have switch from Mono to IL2CPP and activated ARM64.
Thank you for helping me.
Hi Malopieds, there are some reasons for that error:
-
Is your phone supported ARCore? ARCore is not supported on all android phones, check it here: ARCore supported devices | Google for Developers
-
Each Unity version has its own ‘verified’ AR Foundation version. So you have to check version of AR Foundation and its dependencies (don’t forget AR Subsystems)
-
Did you use URP? If you do, just add the “AR Background Render Feature” to the render settings.
Hi there. Just to drop a line about the last point. The render feature is not added automatically when you import ARFoundation and ARKit / ARCore (which makes no sense by the way!). So it is easy to miss that part, especially since it is hidden in some ScriptableObjects in the project and not in the Project Settings.