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
- Incorrect rotations on bones when importing FBX animations with a Humanoid Rig
- Render Graph Viewer “Pass List” section is flickering when resizing vertically and the Render Graph Viewer window is docked
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
- Celestial bodies order remains unchanged when the Distance setting is modified
Add comment