Unity Blank Compile Error Ubuntu 16.04

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.

Same here, new project → new C# script → error appears.

Ubuntu 17.10
Unity 2017.3.0p2

just a blank error too eh?

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.

I have submitted a bug report.

got the same error.
ubuntu 16.04 lts unity 2017.3.0p2
when add first c# script, an error appears and cant build

maybe I have to install some library or package?

Linux Mint 18.3 unity 2017.3.0p2 and blank error too.

Kubuntu 16.04 unity 2017.3.0p1 with 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.

Ubuntu 18.04 and Unity 2017.4.26f1 get same error. But it run about 2 weeks ago, I don’t understand what happens.

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!