Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

MacOS and project with symlinks

Discussion in '2018.3 Beta' started by summerian, Oct 8, 2018.

  1. summerian

    summerian

    Joined:
    Jul 6, 2014
    Posts:
    140
    When developing multiplayer games I've used symlinks with great success on both MacOS and Windows.
    With 2018.3 I'm getting errors on MacOS (still works on the Windows version) like

    Code (CSharp):
    1.  
    2. error CS2011: Unable to open response file: Temp/UnityTempFile-b22c873c7ae094d91b6cd65ce970e2f4
    3.  
    or

    Code (CSharp):
    1. MissingMethodException: void UnityEditor.Scripting.Compilers.ScriptCompilerBase.RunAPIUpdaterIfRequired(string)
    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. UnityEditor.Scripting.ScriptCompilation.EditorCompilation.CompileScriptAssemblies (UnityEditor.Scripting.ScriptCompilation.ScriptAssembly[] scriptAssemblies, UnityEditor.Scripting.ScriptCompilation.ScriptAssemblySettings scriptAssemblySettings, System.String tempBuildDirectory, UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions options, UnityEditor.Scripting.ScriptCompilation.CompilationTaskOptions compilationTaskOptions, UnityEditor.Scripting.ScriptCompilation.EditorCompilation+CompileScriptAssembliesOptions compileScriptAssembliesOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:1053)
    6. UnityEditor.Scripting.ScriptCompilation.EditorCompilation.CompileCustomScriptAssemblies (UnityEditor.Scripting.ScriptCompilation.ScriptAssemblySettings scriptAssemblySettings, System.String tempBuildDirectory, UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions options, UnityEditor.BuildTargetGroup platformGroup, UnityEditor.BuildTarget platform) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:965)
    7. UnityEditor.Scripting.ScriptCompilation.EditorCompilation.CompileCustomScriptAssemblies (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions options, UnityEditor.BuildTargetGroup platformGroup, UnityEditor.BuildTarget platform) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:959)
    8. UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface+<CompileCustomScriptAssemblies>c__AnonStorey3.<>m__0 () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilationInterface.cs:259)
    9. UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface.EmitExceptionAsError[T] (System.Func`1[TResult] func, T returnValue) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilationInterface.cs:97)
    10. UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:CompileCustomScriptAssemblies(EditorScriptCompilationOptions, BuildTargetGroup, BuildTarget)
    11.  
    Since having two editors running for multiplayer development greatly speeds up the work flow I'd really like to get it working again somehow!
     
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,125
    Could you please submit a bug report with a minimal reproduction project for this issue and reply in here with the issue ID?
     
  3. summerian

    summerian

    Joined:
    Jul 6, 2014
    Posts:
    140
    I tried creating a new project and it worked. I'm not sure what the problem is with my current project since the Windows version works fine but it fails on MacOS.

    Could it be a permission issue when Unity creates the temp/ folder?
     
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,125
  5. summerian

    summerian

    Joined:
    Jul 6, 2014
    Posts:
    140
  6. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,125
    We actually have a bug logged about this that could be related. I'll try to get it public and will post an update here once I know more. Stay tuned.
     
    summerian likes this.
  7. summerian

    summerian

    Joined:
    Jul 6, 2014
    Posts:
    140
    Thanks for your time!
     
    LeonhardP likes this.
  8. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,125
    So it looks like the report we have logged for this is exclusive to 2019.1 because we weren't able to reproduce the problem in 2018.3. Is there a chance you could provide us with your project and a bug report?
     
  9. summerian

    summerian

    Joined:
    Jul 6, 2014
    Posts:
    140
    Sorry for the late reply. I was about to create a bug report but when I opened the project in 2018.3.0b6 it seemed to work again?

    I had a few cloned projects where I would get the error and they all seem to work again.

    I didn't change anything so either the upgrade process or an actual fix corrected this.

    Thanks for that.
     
    LeonhardP likes this.