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
- Input from the "Backslash" key is not detected in the Web Player when using the Japanese 106/109 key keyboard
- High "Total" value of the "TerrainManager.CullAllTerrains" when generating terrain
- UI Layout rebuild triggered by a rounding error when using TextMesh Pro
- Sprite Shape Corners and Edges are invisible when a closed Sprite Shape is used
- Script icon Gizmos cause lag/performance issues in Scene view even when the Scene Camera is not pointed at Gizmos
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.