Search Issue Tracker
Fixed in 2022.3.5f1
Fixed in 2022.3.X, 2023.1.X, 2023.2.X, 2023.2.0a19
Votes
8
Found in
2022.2.5f1
2023.1.0b5
2023.2.0a3
Issue ID
UUM-29122
Regression
No
Any URP Lit Shader Graphs compiled in the project with HDRP require min ~25,000-100,000 shader variants each when building the project
Reproduction steps:
1. Open the attached project “URP_and_HDRP”
2. In Navigation Bar go to File → Build Settings
3. Click on Build and select an empty folder
4. Observe the compilation process
Expected result: During the building process, the project is built with a reasonable shader variants count
Actual result: During the building process, there are moments where the shader variants count gets to 25000 and above
Reproducible with: 2020.3.44f1, 2021.3.18f1, 2022.2.5f1, 2023.1.0b5, 2023.2.0a3
Reproducible on: Windows 10
Note: Quality settings need to be sorted so the RPAsset used are all from URP or HDRP. This is mandatory for 2022 and later versions.
If All Quality levels are checked in 2021.3 and earlier versions, everything works as expected.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
Add comment