Hi,
NullReferenceException means that a reference (“link”) to an instance is missing. Double click on the error message to see to which line in your code it is referring.
If the line of code tries to access Camera.main, make sure that your camera has got the Main Camera tag. According to your screenshot, it has got the “Untagged” tag.
Did this help?
See also:
- Forum User Guides : How to mark a topic as solved