Search Issue Tracker
Fixed in 12.0.0
Fixed in 11.0.0
Votes
0
Found in [Package]
12.0.0
Issue ID
1343528
Regression
No
[Shader Graph] "Graph is generating too many variants" error is thrown when using SubGraphs with Keywords
"Graph is generating too many variants" error is thrown when using SubGraphs with Keywords and specified Shader Variant Limit is not reached
How to reproduce:
1. Open the user's attached project
2. In the Project window, open the maingraph asset
3. Observe its graph and Console window
Expected result: there are no errors
Actual result: Shader Graph and Console windows display errors
Reproducible with: 7.3.1 - 7.6.0 (2019.4.28f1), 10.3.1 - 10.5.0 (2020.3.12f1), 12.0.0 (2021.2.0a10, 2021.2.0a21)
Not reproducible with: 8.1.0, 11.0.0 (2021.1.0a1, 2021.1.11f1)
Could not test with: 2018.4 (URP is not available), 2021.2.0a1, 2021.2.0a9 (other errors)
Error that appears:
Error in Shader Graph New Shader Graph:Graph is generating too many variants. Either delete Keywords, reduce Keyword variants or increase the Shader Variant Limit in Preferences > Shader Graph.
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
- Buttons in the Overlay Menu in the Scene View are all gray even if they're activated when Game View is maximized and minimized
- NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
Resolution Note (fix version 12.0.0):
Fixed in: 2022.1.0a6 (Shader Graph 12.0.0)
Resolution Note (fix version 12.0.0):
Fixed in: 2021.2.0b7 (ShaderGraph 12.0.0)
Resolution Note (fix version 11.0.0):
Fixed in: 2021.1.17f1 (ShaderGraph 11.0.0)