Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Bug Exception: No pending assemblies queued for compilation and no compilers running. in 2019.3b5

Discussion in '2019.3 Beta' started by transat, Oct 2, 2019.

  1. transat

    transat

    Joined:
    May 5, 2018
    Posts:
    726
    Since updating to 2019.3.0b5 I endlessly get this error:

    Code (CSharp):
    1. Exception: No pending assemblies queued for compilation and no compilers running. Compilation will never finish.
    2. UnityEditor.Scripting.ScriptCompilation.CompilationTask.QueuePendingAssemblies () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/CompilationTask.cs:367)
    3. UnityEditor.Scripting.ScriptCompilation.CompilationTask.Poll () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/CompilationTask.cs:256)
    4. UnityEditor.Scripting.ScriptCompilation.EditorCompilation.PollCompilation () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:1926)
    5. UnityEditor.Scripting.ScriptCompilation.EditorCompilation.TickCompilationPipeline (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions options, UnityEditor.BuildTargetGroup platformGroup, UnityEditor.BuildTarget platform) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:1919)
    6. UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface+<>c__DisplayClass49_0.<TickCompilationPipeline>b__0 () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilationInterface.cs:390)
    7. 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)
    8. UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:TickCompilationPipeline(EditorScriptCompilationOptions, BuildTargetGroup, BuildTarget) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilationInterface.cs:390)
    9.  
     
  2. lukaszunity

    lukaszunity

    Unity Technologies

    Joined:
    Jun 11, 2014
    Posts:
    454
    Could you report a bug on this?

    This exception should never be emitted and shows that there is a bug in the compilation pipeline. We would need a repro project in order to be able to fix it.
     
  3. transat

    transat

    Joined:
    May 5, 2018
    Posts:
    726
    Deleting parts of my Library cleared the error so I can't reproduce it alas.
     
  4. zapposh

    zapposh

    Joined:
    Nov 12, 2016
    Posts:
    96
    I also get this after every Unity 2019.3.bx upgrade....

    Exception: No pending assemblies queued for compilation and no compilers running. Compilation will never finish.
    etc...

    Followed by
    Assembly with cyclic references detected (Packages/com.unity.cinemachine/Runtime/com.unity.cinemachine.asmdef)
    Assembly with cyclic references detected (Packages/com.unity.render-pipelines.universal/Runtime/Unity.RenderPipelines.Universal.Runtime.asmdef)

    So anything URP related is unusable in 2019.3.bx since the scripts fail to load / work.
    Creating URP assets is not accessible anymore.
     
  5. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    2,121
    It would be very helpful if you could submit a bug report with a minimal reproduction project for this issue.

    This is a known issue and we're working on a fix. Related forum thread: https://forum.unity.com/threads/can...universal-rp-and-unity-2019-3-0b7-0b9.771629/
     
  6. dr4

    dr4

    Joined:
    Jan 14, 2015
    Posts:
    50
    also getting this in 2019.3.7, I believe the error is because of a circular reference (I made the mistake of reference 2 projects to each other before remove the first one):


    Exception: No pending assemblies queued for compilation and no compilers running. Compilation will never finish.
    UnityEditor.Scripting.ScriptCompilation.CompilationTask.QueuePendingAssemblies () (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
    UnityEditor.Scripting.ScriptCompilation.CompilationTask.Poll () (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilation.PollCompilation () (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilation.TickCompilationPipeline (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions options, UnityEditor.BuildTargetGroup platformGroup, UnityEditor.BuildTarget platform) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface+<>c__DisplayClass50_0.<TickCompilationPipeline>b__0 () (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface.EmitExceptionAsError[T] (System.Func`1[TResult] func, T returnValue) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:TickCompilationPipeline(EditorScriptCompilationOptions, BuildTargetGroup, BuildTarget)
     
unityunity