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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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)