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
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
- Scroll View is not moving by inertia after scrolling by click and dragging when Editor window is minimized and Canvas "Render Mode" is set to "World Space"
- "type mismatch error" occurs when the currentDirectionWS output of a Sample Water Surface node is connected to a float3 input
- URP Material Upgrade utility does not enable Alpha Clipping when material had Rendering Mode set to Cutout
- Particle System emission ignores the Sprite Atlas when using a Material that has the "Include in Build" setting unchecked
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.