What ways can you do to determine if Unity is busy compiling C# or Javascript codes?

Whenever I modify my codes, and then ALT+TAB to Unity, Unity will pause for a while before responding to mouse events. This is noticeable by hovering the mouse over the “Play” button at the top when Unity is busy.

What other ways can you do to determine that Unity is busy/not responding to mouse events? I thought it would be cool to have a plugin that detects if Unity is busy, and if so, will show a loading icon at the bottom corner.

There is a spinning icon in the bottom right corner when unity is busy processing/importing changes.

1 Like

Check task manager. If scripts are being compiled, you’ll see “Mono.exe”. If you check the command line passed into the executable, you’ll see exactly what it’s doing.

2 Likes

Found it. Thanks. I just hoped that it stands out a bit more. I didn’t notice it until you pointed it out to me.

Okay. Thanks for letting me know of a way to detect its actions.

Why not use this?

1 Like

Nice! Didn’t know there’s a hook for it.

But, I was only looking for ways to visually see if the Editor is busy or not before, and it was already pointed out for me.