How to reproduce:
1. Open the attached project “ShaderIssue.zip“
2. Select the “Rsg_LW_MeshDissolve 1“ Shader Graph (Assets/RzFX_BloodSpray/URP/Shader)
3. In the Inspector window, press “Compile and show code“
Expected result: Shader is compiled
Actual result: Shader compiling gets stuck on “0 / 6144 variants ready“
Reproducible with: 2022.2.7f1, 2023.1.0b4, 2023.2.0a2
Can’t test with: 2020.3.45f1, 2021.3.19f1 (Errors in the Console)
Reproduced on: Windows 10, macOS 13.0.1 (Intel)
Note:
- This issue is probably the cause of the original user-reported issue (shader error when building)
- In 2023.1.0b4 and 2023.2.0a2, Unity gets stuck on “compiling job”