- Home /
Question by
asddfasfre · Sep 27, 2021 at 02:32 PM ·
errorproject
My project broke after I added a script to a game object
Hello! My whole Unity project broke after I added a script to a game object. The console is spammed with NullReferenceException. After looking into my code that once worked, I found out that every access to a public variable that was set in the editor was triggering the exception. What should I do now?
Comment
After some more checking, those public variables aren't null so idk what's happening.
Your answer
Follow this Question
Related Questions
Are all of the Errors important in a project 1 Answer
Have I lost my project? Or is this fixable. 1 Answer
Can't launch my Project from Unity Hub 1 Answer
Why doesnt unity open projects ? 0 Answers
Error when starting new project 0 Answers