- Home /
All my scripts have stopped working after trying to build & run
Hello, as I was saving my project, I glanced upon the Build & Run button, and clicked it to see if I would be able to save my project as a program even though my game is not even close to being done (but it runs). After clicking this, it tried to build and run, but it complained about my scripts for some reason, and then to my horror, the console was filled with warning messages that looked like this:"The referenced script on this Behaviour is missing!" Now it seems that all of my scripts are saying that the class can not be found, but all of my script's names are most certainly equal to the class names. This is the weirdest thing I have encountered on Unity thus far.
Answer by dischargee · Oct 21, 2017 at 08:15 PM
Happened to me too, I solved by recreating the script..
I guess that would not be that hard, but does this mean that this is a Unity bug?
I am having the same issue. What do you mean when you say recreate the script? If you mean creating another script for each one I'm using That's really not humanly possible. I Have dozens maybe even hundreds of scripts.
Your answer

Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
How can I stop the variable values reverting to its default values after being built? 1 Answer
Static classes and references are bad for Builds... Alternatives? 1 Answer
correct usage class and threads c# 0 Answers
Why does the project stop building after a failed build? 0 Answers