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
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
Add comment