Search Issue Tracker
Fixed
Fixed in 6000.1.0a3, 7000.0.0a7
Votes
0
Found in
6000.0.0b11
6000.1.0a1
7000.0.0a1
Issue ID
UUM-55930
Regression
No
Unnecessary shader variants caused by the same keyword when declared in both multi_compile and shader_feature_local
How to reproduce:
1. Open the attached project "ShaderGraphMixedKeywords.zip"
2. Select Assets/Shaders/Simple.shader
3. Click on the "Compile and show code" dropdown in the Inspector window
Expected results: "Assets/Shaders/Simple.shader" generates 3 shader variants
Actual results: "Assets/Shaders/Simple.shader" generates 6 shader variants
Reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b18, 2023.3.0a14
Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Add comment