Search Issue Tracker
By Design
Votes
0
Found in
6000.0.41f1
6000.1.0b9
6000.2.0a6
Issue ID
UUM-99118
Regression
No
“Error in Shader Graph Assets/Samples/Shader Graph/17.1.0/Production Ready Shaders/Lit/URPLit.shadergraph: Graph is generating too many variants…” error is thrown after importing Shader Graph Samples
Steps to reproduce:
1. Create a new project
2. Import Feature Examples and Production Ready Shaders Sample (Package Manager > Shader Graph > Samples)
3. Observe the Console
Actual results:
{code:java}
Error in Shader Graph Assets/Samples/Shader Graph/17.1.0/Production Ready Shaders/Lit/URPLit.shadergraph: Graph is generating too many variants. Either delete Keywords, reduce Keyword variants or increase the Shader Variant Limit in Preferences > Shader Graph.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219)
{code}
error is thrown
Expected results: No errors or warnings are thrown
{}Reproducible with versions:{}6000.0.5f1, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6
Couldn't test: 2022.3.59f1, 6000.0.4f1 (Due to Production Ready Shaders Sample not existing in the versions)
Tested on (OS): macOS Sequoia 15.3 (Intel)
Notes:
- High Definition 3D template throws additional warning: “GUID [8ba92e2dd7f884a0f88b98fa2d235fe7] for asset 'Assets/Samples/Shader Graph/17.1.0/Production Ready Shaders/Scenes/HDRPProductionReadyShaders/SkyandFogSettingsProfile.asset' conflicts with: 'Assets/Settings/SkyandFogSettingsProfile.asset' (current owner)
Assigning a new guid.”
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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note:
The URPLit shader uses more variants than the default settings in the editor support. The way for the user to handle it is to increase the variant limit in their project's settings. There are instructions for how to do this in both the sample scene that comes with the sample and in the sample's documentation. This allows the user to raise their limit if they choose to.
The only other way to address this would be to run a script when the sample is imported that forces the variant limit to increase in the user's project. We do not want to use this type of heavy-handed alteration to the project and so we decided that the error was acceptable.