Search Issue Tracker
Won't Fix
Votes
0
Found in
6000.0.60f1
6000.4.0a2
6000.5.0a1
Issue ID
UUM-125224
Regression
Yes
[URP] The number of Shader variants increases from 96 to 186624 when the Strip Unused Variants is set to 0
Reproduction steps:
1. Extract the project and open it in the File Explorer
2. Delete the “com.unity.render-pipelines.universal” folder inside the Packages folder
3. in the Packages folder, edit the “manifest.json”, set the "com.unity.render-pipelines.universal" package to version "17.0.4"
4. Make sure that Python is installed on the machine
5. Use the “run_project.bat” to Build the Player (Open the Terminal at the project root and run the command: run_project.bat -t build -u 6000.0.60f1)
6. Observe the Terminal
Expected result: The Player is built in 1-2 hours
Actual result: The build takes longer than 2 hours, up to multiple days
Reproducible with: 17.0.4 (6000.0.60f1, 6000.4.0a2)
Not reproducible with 17.0.3 (6000.0.39f1)
Reproducible environments: Windows 11
Not reproducible environments: No other environments tested
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
- [WebGPU] clearing 2d array texture only clears first slice
- Particle System Renderer icon is missing in Animation window > Add Property context menu
- [Android] Legacy, TMP and UI Toolkit Input Field language toggle to some non-latin alphabet languages does not work with external keyboard
- Crash on keywords::LocalKeywordState::operator when calling ShaderUtil.GetPasskeywords with ShaderType.RayTracing set as the third parameter
- Inconsistent “Remove property” behavior when removing child properties in Animator window
Resolution Note:
Closing because there is no short term solution to this. It isn't a regression but actually correct behavior. The customer is unblocked, and we have fixed the BRG docs in response. Longer term, there are some projects that will ease this issue, and when they land, we will remove the "Strip Unused Variants" checkbox and default it to true.