Is your Unity editor freezes when it’s compiling scripts? And you don’t actually know when it’s finished? Are you want to know, when you could hit play or build & run to test your last solution?
This seems to be minor issue, but as we know the devil’s in the detail. I often catch myself on that I didn’t start build & run, because I was thinking, that compiling is already done. Or I’ve switch Unity to work on something different and return for much longer time than I should.
So this simple issue could cause quite significant consequences. Since I’m developer I should solve not only projects tasks, but also things that slower my work down. I’ve prepared Unity editor script, which show is editor compiling now scripts.
The script is slightly changed version of EditorApplication.isCompiling example.
public class IsCompiling : EditorWindow
private const string Title = "Is compiling?";
[MenuItem("Tools/" + Title)]
public static void Init()
lastIsCompiling = false;
var window = GetWindowWithRect(typeof(IsCompiling), new Rect(0, 0, 200, 25));
window.titleContent = new GUIContent(Title);
public void OnGUI()
var isCompiling = EditorApplication.isCompiling;
EditorGUILayout.LabelField(isCompiling ? "Yes" : "No");
It’s very odd that it’s not part of current editor – definitely it should be.