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
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
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.