Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X
Won't Fix in 2023.2.X
Votes
0
Found in
2021.3.32f1
2022.3.14f1
2023.2.1f1
2023.3.0a15
2024.1.0a1
6000.0.0b11
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
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (2023.2.X):
Closing as Won't fix due to 2023.2 reaching it's EOL.