Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Incremental compiler on mac

Discussion in 'Entity Component System' started by falkj17, Oct 23, 2018.

  1. falkj17

    falkj17

    Joined:
    Sep 11, 2017
    Posts:
    9
    Hey,

    it seems that the incremental compiler on Mac is still a bit unstable. We are using the latest version `0.0.42-preview.23` and it seems to break every single time we open the project on mac. We get the following errors:
    Code (CSharp):
    1. MissingFieldException: Field 'UnityEditor.Scripting.Compilers.ScriptCompilerBase.m_Island' not found.
    2. UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:65)
    3. UnityEditor.Scripting.ScriptCompilation.CompilationTask.QueuePendingAssemblies () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/CompilationTask.cs:236)
    4. UnityEditor.Scripting.ScriptCompilation.CompilationTask.Poll () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/CompilationTask.cs:143)
    5. ...
    and

    Code (CSharp):
    1. Exception generating network code: System.Exception: Assembly Temp/Unity.Mathematics.dll does not exist!
    2.   at Unity.UNetWeaver.Program.CheckAssemblyPath (System.String assemblyPath) [0x0001c] in /Users/builduser/buildslave/unity/build/Extensions/Networking/Weaver/Program.cs:52
    3.   at Unity.UNetWeaver.Program.CheckAssemblies (System.Collections.Generic.IEnumerable`1[T] assemblyPaths) [0x00016] in /Users/builduser/buildslave/unity/build/Extensions/Networking/Weaver/Program.cs:46
    4. ...
    We tried to use the `0.0.42-preview.21` version before and while it works sometimes, it also fails to compile every 3-5 attempt of opening the Unity project.

    Does anyone else experience these issues when using Unity 2018.2 with the incremental compiler on mac?
     
  2. 5argon

    5argon

    Joined:
    Jun 10, 2013
    Posts:
    1,555
  3. falkj17

    falkj17

    Joined:
    Sep 11, 2017
    Posts:
    9
    I'm actually using 2018.2.8 and it seems like preview 23 is causing the error for me. :(