Search Issue Tracker
Fixed
Fixed in 2021.3.43f1, 2022.3.43f1, 6000.0.16f1
Votes
0
Found in
2021.3.40f1
2022.3.38f1
6000.0.11f1
6000.1.0a7
6000.2.0a1
7000.0.0a1
Issue ID
UUM-76472
Regression
No
Shader Graph Preview Variant Limit can be set to a negative value
How to reproduce:
1. Create a new URP project
2. Go to User Preferences -> Shader Graph
3. Try set the Preview Variant Limit to a negative value
Expected results: It is not possible to set Preview Variant Limit to a negative number
Actual results: It is possible to set the Preview Variant Limit to a negative number which results in errors in the Console
Reproducible with: 2021.3.40f1, 2022.3.38f1, 6000.0.11f1
Reproducible on: macOS Sonoma 14.5
Not reproducible on: No other environment tested
Full error: Error in Shader Graph Assets/New Shader Graph.shadergraph: Graph is generating too many variants. Either delete Keywords, reduce Keyword variants or increase the Shader Variant Limit in Preferences > Shader Graph.
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:384)
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
Postponing; will batch forward port in the future.