- Home /
Unity Monodevelop Error - All Scripts are Broken
Recently, I've realized my unity is completely broken. Whenever I create a script, in any project, I get an error which says, "No Monobehaviour Scripts in File, or their names do not mach the file name". I get this error on any script I create even if I've never opened the script. Because of this "Error" I cannot create new scripts in my projects.
This error also happens on games that had worked perfectly in the past. Currently, all my games are broken and cannot run as Every script in Every project gives this error.
I've tried everything i can think of. I've reinstalled unity, I've reinstalled unity hub, I've gone forward to beta and alpha versions and gone back to older versions. I've tried recompiling assets and starting a new project . Nothing Works. This error keeps persisting and I have no idea what to do. a google search turned up nothing and Reddit was no help either.
This link will show you this error happening to a brand new script in a brand new file, as well as it happening on a once working player script in another game https://imgur.com/a/uugSbAW
I am truly stumped and have no idea what to do, any help would be greatly apreciated
Your answer
Follow this Question
Related Questions
Unity3d Dragging object in 3d world 0 Answers
set gamobject via script in non-Monobehaviour class? 1 Answer
Serializable class with coroutines? 1 Answer
Quick MonoBehaviours (Ctrl+Shift+Q) will show up empty 0 Answers
GameObject is null when assigning to non-monobehaviour public static class 1 Answer