Search code examples
androidunity-game-enginemrtk

Why is my MRTK 3 Android AR App background black?


I have set up a test with MRTK 3. I have tried to run this on my Android Phone. Touch inputs are detected. Even the movements of the smartphone are detected. The camera is displayed in Android as used. However, there is no camera input in the application.

This is how the app looks on the Android

Android Player Settings XR Settings Main Camera

After building, these two points must be fixed again and again

I tried to find a settings error but could not find one.


Solution

  • Looking at your package name it seems you're using URP. Have you added the AR Background Renderer Feature to the render feature stack of the render pipeline?

    • Select your pipeline asset
    • Click 'Add render feature'
    • Click 'Add AR renderer feature'