Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.2.X, 6000.3.X, 6000.4.X
Votes
1
Found in
2021.3.39f1
2022.3.31f1
6000.0.4f1
6000.1.0a7
6000.2.0a1
6000.3.0a1
6000.4.0a1
7000.0.0a1
Issue ID
UUM-72784
Regression
No
Shaders created with Shader Graph generate a large amount of shader variants and cause slow build times when using a baked lightmap in BIRP
How to reproduce:
1. Open the attached “shader_variants_birp” project
2. Open the Build Settings (File → Build Settings…) and ensure that “Development Build” is selected
3. Press “Build”
4. Take note of the build time
5. Observe the result in the Console window
Expected result: The build takes a short time to complete (less than a minute) and few shader variants are generated
Actual result: The build takes a long time to complete (several minutes) and a large amount of shader variants are generated (30 000 - 60 000)
Reproducible in: 2021.3.39f1, 2022.3.31f1, 6000.0.4f1
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
* Not reproducible in URP/HDRP
* The number of generated shader variants depends on the selected graphics API
** Direct3D11 - 50583
** Direct3D12 - 50583
** Vulkan - 33435
** OpenGLES3 - 32975
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
Add comment