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
-
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
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.