I also get a no MonoBehavior scripts in the file or their names do not match the file name.
However it builds successfully with no errors in mono-develop, and when i sent it to my buddy on mac OS he had no problem putting it into his game(we are both making the same game for the same class in school).
So i have tried a few things now, reinstalling, doing a “perfect install” from some other posts. However i have yet to be able to get rid of the blank compile error(compile error because i cant play until i fix all compile errors error.). Any ideas on how i should go about fixing this.
More diagnostic stuff:
-language English(as in system language)
-i have the unity packages installed for mono-develop too
-Unity version 2017.3.Op2 Personal (64bit)
-if theres any other diagnostics you might think are important please let me know and i will add them to the post as quick as possible.
Images for proof and help, one with code one with settings.
I have also (a day after posting this) gotten a " All compiler errors have to be fixed before you can enter playmode! UnityEditor.SceneView:ShowCompilerErrorNotifaction() " error now under the original blank error.
Same here. However, it does work on my desktop 16.04 machine, but not on my laptop with 16.04, and not in a VM with 16.04.
And, to confirm, exactly the same problem. I can create a completely new project and create a completely new script with nothing in it and when I drag it onto an object it says to fix compile errors first, blank error in the Output.
If I find out how I made it work on my desktop I’ll definitely let everyone know but, for now, I have no idea.
Finally I find solution. First, I tried to compile on MonoDevelop and it compiled successfully but one error. It was about /usr/lib/mono/* after than I changed owner for this directory with sudo chown -R $USER:$USER /usr/lib/mono/ and it works!