AR Foundation Black Screen

why the camera only opens after minimize and maximize the app. Otherwise it’s show black screen only.

1 Like

If you don’t operate with camera permissions, then the very first launch of the AR scene will lead to a camera permission request without loading the camera stream (with any answer for the request).

And with the 2nd, 3rd and so on launches you will see the camera stream in the case of granting the permission request in the 1st launch. User will not have a second try to answer the request during the app launch when Permission was Denied.


In my AR projects, I use Native Camera and my custom controller to operate with the camera permissions and cover any app launches to provide the enabling of the camera anyway before the start of the AR Scene.

You can use [Native Camera]freely without my controller.

I also use my controller for non-AR foundation Apps, e.g. for Google Cardboard XR Plugin related app with pseudo Mixed Reality — Screenshot below:


Thanks for your support.

1 Like

@nandhakumarnandu96 The issue you describe is most commonly associated with the Package Manager’s AR Feature. If you have the AR Feature in your app, try removing it and re-adding each package to your project individually.

Thanks, I’ll try it