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
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
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.