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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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)