My Unity project appears to have become corrupt. Running it results in many console errors such as this:
The referenced script on this Behaviour is missing!
(Filename: C:/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1560)
I also see many errors like these:
GameObject (named ‘Text’) references runtime script in scene file. Fixing!
(Filename: C:/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1083)
GameObject (named ‘Button’) references runtime script in scene file. Fixing!
(Filename: C:/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1083)
As per a few other issues that I googled, I deleted all objects that appeared to be referencing scripts and recreated them. The error persisted.
I then deleted all objects and readded them. No luck.
I switched scenes and the error persisted.
I created an empty scene and added a few UI objects and the errors were back.
What do I do?! I haven’t yet backed up my project today
Thanks.
P.S. New projects work fine.