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
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
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.