The console says my script is not working because I didn’t assign a game object to the script from the inspector but the thing is I did. I have been just trying to make a multiplayer gameencountered this error and I can’t get around it. It will just pause my game when I try to play. I really need help. Thank you.
If you’re absolutely certain you assigned a variable in the inspector, then there’s likely a second instance of that script (potentially on the same object, but not necessarily) that was added by mistake and never had the variable assigned. I’ve never seen Unity mess that up, so either there’s an instance of it where it isn’t assigned, or somehow the variable is being removed (game object destroyed, maybe).