Search Unity

Bug Unity Blank Compile Error Ubuntu 16.04

Discussion in 'Linux' started by DylanDocherty, Jan 22, 2018.

  1. DylanDocherty

    DylanDocherty

    Joined:
    Jan 22, 2018
    Posts:
    6
    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.
     
  2. Soraphis

    Soraphis

    Joined:
    Oct 25, 2013
    Posts:
    17
    Same here, new project -> new C# script -> error appears.

    Ubuntu 17.10
    Unity 2017.3.0p2
     
  3. DylanDocherty

    DylanDocherty

    Joined:
    Jan 22, 2018
    Posts:
    6
    just a blank error too eh?
     
  4. DylanDocherty

    DylanDocherty

    Joined:
    Jan 22, 2018
    Posts:
    6
    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.
     
  5. DylanDocherty

    DylanDocherty

    Joined:
    Jan 22, 2018
    Posts:
    6
    I have submitted a bug report.
     
  6. mopsicus

    mopsicus

    Joined:
    Feb 15, 2016
    Posts:
    13
    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?
     
  7. cybersoft

    cybersoft

    Joined:
    Feb 12, 2014
    Posts:
    107
    Linux Mint 18.3 unity 2017.3.0p2 and blank error too.
     
  8. k4sma

    k4sma

    Joined:
    Feb 11, 2018
    Posts:
    1
    Kubuntu 16.04 unity 2017.3.0p1 with blank error
     
  9. steve_audia

    steve_audia

    Joined:
    Mar 13, 2018
    Posts:
    1
    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.
     
  10. cagdascaglak

    cagdascaglak

    Joined:
    Apr 17, 2019
    Posts:
    2
    Ubuntu 18.04 and Unity 2017.4.26f1 get same error. But it run about 2 weeks ago, I don't understand what happens.
     
  11. cagdascaglak

    cagdascaglak

    Joined:
    Apr 17, 2019
    Posts:
    2
    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!