So I made a new scene and accidentally removed the main camera, and one of my scripts needs to use the main camera. Does anyone know how I can get it back?
Add a camera and assign the tag ‘MainCamera’ in the inspector.
You could also rename it to ‘Main Camera’. Then it should be the same as if you had a completely new scene.
Thanks fixed it