Black Screen-Unity AR Camera not Working

Thank you! I just came across a previous post from yourself and saw this is the case.

Its not great but at least I can work through some basics now and begin, albeit with longer iteration times than Im used to.

Thanks for your input/patience. Your comment about version got me looking a bit deeper into matching up Unity Version with the correct ARFoundation.

Cheers!!!

1 Like

Morning 2 of my AR learning… I already feel like KirillKuzyk, you plugin is going to give me back some years. Building and Running to even understand the ARFoundation samples, is a pain no? Looks like your plugin is a lifesave.

1 Like

If you are using URP watch this. It was my issue.

17 Likes

Problem fixed here :

1 Like

When using URP, make sure to add the “AR Background Render Feature” to the render settings.
So by default that would be the forward renderer. Find the “ForwardRenderer” scriptable object in your project and add the feature :slight_smile:

And of course make sure you deleted the standard main camera in your scene and have added AR Session and AR Session Origin from the menu GameObject > XR.

7161700--857506--Screenshot 2021-05-21 at 07.51.26.png

16 Likes

THX a lot bro!

Thanks to [ManjitSBedi]( Black Screen-Unity AR Camera not Working members/manjitsbedi.574086/) it works now on Android

This did the work for me. THX bro

I am working on AR a app. I download a model from link and show in a AR view in app. Model download and show properly in editor but in build only eyes of model show. Model not show properly in Build android. I am using unit version 2020.3.15 and dlc (model) make in same version of unity. Help me asap.

Thank you

This solved my problem. Thanks a lot, JelmerV!

I followed this video to fix my problem. But when I add the New ARE Background Renderer Feature to the Universal Render Pipeline Asset_Renderer, there is no ARBackgroundRendererFeature script attached to it. And also, I still have the black screen problem. Does anyone know why there is no script attached?

1 Like

https://forum.unity.com/threads/arfoundation-4-uwrp7-3-unity2019-4-not-working-black-screen-and-no-tracking.915527/#post-6374280

4 Likes

7799271--985461--Screenshot 2022-01-11 090423.png
Thank you for your reply. I made sure to follow the steps in the post but the problem still remains. In this screenshot you can see that my URP renderer looks different and doesn’t have the script.

5 Likes

If any of the above did not work and if you are trying to do a production build then make sure minify options in publishing settings are unchecked…i dont know y but it worked for me

1 Like

I was using ARkit for iOS and encountered the same issue. Tried every possible solutions you could ever find on the internet and none of them resolved the issue. I was using the SRP Universal 3D and it has URP installed and configured for you. But even if you follow Unity’s XR Project Configuration, it wouldn’t work either. UNTIL, I noticed that 3D (Built-In Render Pipeline) works fine, then I tried to manually install the URP in it then followed the Project Configuration and it worked fine. I’m still not sure what the actual reason is that causes this issue but here is the solution to it. Hope it help :wink: And if you happened to figure out the real cause of the issue, please let me know.