I keep getting this error in the play mode:
"There is no 'Camera' attached to the "ARCamera" game object, but a script is trying to access it."
This is in spite of having Camera (MainCamera) as a child of the ARCamera. Furthermore, I cannot find the script that uses the 'Camera' component.
Hence, I only get a black screen in game view and when building the app.
You could create the camera again, and try and reference it using the index. (
transform.getchild(**index of camera in hierarchy**))