Search Issue Tracker

Fixed in Unity 2019.1

Votes

2

Found in

Issue ID

1095709

Regression

No

CheckCyclicAssemblyReferences() takes a long time in projects with many assemblies

Scripting

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

UnityEditor.Scripting.ScriptCompilation.EditorCompilation.CheckCyclicAssemblyReferences() takes a very long time when there are many assemblies and complex dependencies. It greatly reduces the iteration time. In our project, modifying a simple .cs file would spend >2 minutes in the "pre-compile" stage of refreshing the scripts.

In addition, it sounds like this step should only happen on .asmdef changes, not on .cs changes.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.