Search Issue Tracker
Won't Fix
Votes
3
Found in
2019.3.0a1
2019.3.0b9
2020.1
Issue ID
1196623
Regression
Yes
EditorWindow.OnGUI() is not getting executed when recompiling the Script that has been opened outside of the Editor
To reproduce:
1. Open attached project ("case_1196623.zip")
2. From Assets select "Test" script > Show in Explorer > Open "Test.cs" in a text editor
3. Make a change in code, save it and return to the editor to recompile
Expected result: "Compiling..." message is getting printed in the Console
Actual result: No message is getting printed in the Console
Reproducible in: 2019.3.0a1, 2019.3.0b11, 2020.1.0a13, 2020.1.0a25
Not reproducible in: 2017.4.35f1, 2018.4.13f1, 2019.2.13f1
Comments (1)
-
akuno
Oct 15, 2020 01:29
The other APIs:
CompilationPipeline.compilationStarted
CompilationPipeline.compilationFinishedonly work for the specific compiling time in the pipeline, not the whole time waiting for unity to become responsive again.
A fix to that, or another way to measure total unresponsive time is highly useful to keep track of total iteration time. Specially in AA projects.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (2020.1.X):
In Assets Pipeline V1, a re-render of the whole UI was unnecessarily performed after the refresh. This was fixed in V2.
Depending on the use, there are other APIs and events that can be used for getting a notification that a script finished importing.