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
- Shadow cascades and lights flicker when using Shadowmap Sampling
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
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.