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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
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.