Search Issue Tracker
Fixed
Fixed in 2021.3.29f1, 2022.3.6f1, 2023.1.0a20
Votes
0
Found in
2021.2.0b15
2022.1.9f1
2022.2.0b2
2023.1.0a3
Issue ID
UUM-9826
Regression
No
Cancel button won't stop Shader Graph from compiling, user is unable to gain control of the editor
Reproduction steps:
# Open the attached project
# Go to Assets → CreativeCore_Shaders → ShaderGraphs
# Click on any Shader Graph asset
# In Inspector, click on “Compile and show code”
# When the progress window shows the “Preparing variants for compilation” stage press Cancel
Expected result: Compiling is canceled
Actual result: Compiling will continue
Reproducible with: 12.0.0 (2021.2.0b1), 12.1.7 (2021.3.6f1), 13.1.8 (2022.1.9f1), 14.0.3 (2022.2.0b1), 15.0.0 (2023.1.0a3)
Could not test with: 10.9.0 (2020.3.37f1), 11.0.0 (2021.1.28f1), 12.0.0 (2021.2.0a21) (Progress window doesn’t have “Preparing variants for compilation” stage or Cancel button)
Reproduced on: Windows 10
Note: To successfully reproduce the issue Cancel should be pressed after the first stage of the compilation. The first stage could be recognized when the status window says “Shader \{shader graph path} xx of xx” where “xx” are numbers. Also, a user is unable to gain control of the editor until the compilation is done
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2023.1.0a20):
Fixed shader variant compilation to allow cancelling when doing async shader compilation. Cancelling may still take a few seconds to take hold given in flight compilations.