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
- Crash on ShowDelayedContextMenu(bool) when changing the Size options of a Visual Element in the UIToolkit Inspector
- Crash when total memory consumption is over 2GB
- Red dots are rendered when copying texture with ASTC format and CompressGpu
- [Linux] "Trying to load color backbuffer into a complex RenderPass setup" error is thrown after entering Play mode in AR Mobile template project
- [Android] Neither of the callbacks are called when several videos with VideoPlayer are spawned on the target on the Google Pixel devices
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)