Search Issue Tracker
Fixed in 2021.3.29f1
Fixed in 2021.3.X, 2022.3.X, 2023.1.X, 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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2023.1):
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.