We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e71269b commit 9caa4daCopy full SHA for 9caa4da
source/VersionHandlerImpl/src/VersionHandlerImpl.cs
@@ -1535,7 +1535,10 @@ private static void NotifyWhenCompliationComplete(bool forceNotification) {
1535
Log("Compiling...", verbose: true);
1536
}
1537
compiling = true;
1538
- return false;
+ // In batch mode this can get stuck forever as PollOnUpdateUntilComplete()
1539
+ // will block the main thread which prevents the EditorApplication.isCompiling
1540
+ // flag from being updated by the editor.
1541
+ return ExecutionEnvironment.InBatchMode;
1542
1543
if (compiling) {
1544
Log("Compilation complete.", verbose: true);
0 commit comments