I've been struggling with this issue for about two days now, trying everything I could find via searching the web etc.
All of my scripts suddenly stopped working. Under the inspector, they all say "No MonoBehaviour scripts in the file, or their names do not match the file name." All of my scripts have classes that match the file names and all are properly extending MonoBehaviour.
What's really weird is when I try to drag a script onto a GameObject, I get this sort of error message:
![alt text][1]
[1]: /storage/temp/121617-screenshot-1.png
It used to be "Can't add script behaviour TMP_CoroutineTween. To attach a script it needs to be derived from MonoBehaviour." (Or something to that effect, best I can remember.)
I've tried closing and opening Unity. I've tried restarting my computer. I even uninstalled Unity and did a fresh reinstall of it.
I'm new to Unity, so maybe there's something obvious I'm missing, but for the life of me I can't figure it out. I don't recall taking any particular action that seemed to trigger this error, I just opened my project to start work again for the day and suddenly none of my scripts worked.
Thanks in advance for your time and help!
↧