Hi all i'm new here. I've only been using AC for a few days and set up a basic scene to start setting up cameras and see how they could work. now in my scene with three extra cameras when I press play the screen is grey but shows the hud. I'm getting a nullreferenceexception. 4 on player input.cs (line: 1283) and 4 on playerinteraction.cs (line: 1016)
Object Reference is not set to an instance of an object.
I'm new to coding so I have no idea what this means.
Any ideas?
Many thanks,
Jack
Comments
If the camera is grey, a couple of things to check (while the game is running):
1) Select the MainCamera in your scene and look at the bottom of it's Inspector - it will tell you what camera it is currently attached to. If it isn't attached to anything, that could be the cause
2) If it is attached to a camera, the cause is likely that the "attached" camera is in the wrong place (the MainCamera snaps itself to whichever camera is currently the active one). It may be the settings you've assigned in it's inspector (you can move a GameCamera based on the player's position, for exampe), so double-check those.