Search Unity

Is there a reason Unity doesn't use the Roslyn compiler by default on non-supported distros?

Discussion in 'Linux Editor' started by r9shackleford, Sep 1, 2019.

  1. r9shackleford

    r9shackleford

    Joined:
    Jul 23, 2019
    Posts:
    2
    Referring to unity_csc.sh in the Tools/RoslynScripts/ folder.
    I saw a massive speedup by manually enabling it for my distro, reducing compile times by 70-80%.

    Is there any downside to this or a reason why it's disabled by default?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    6,436
    That is the list we know to work. If you try to run .NET Core version on a system that doesn't have required dependencies, it will simply crash and you won't even be able to open the editor.
     
    r9shackleford likes this.