Search Issue Tracker
By Design
Votes
0
Found in
2021.3.36f1
2022.3.26f1
2023.2.19f1
6000.0.0b16
7000.0.0a1
Issue ID
UUM-70324
Regression
No
Speedtree8.shadergraph inside HDRP doesn't import properly and prevents HDRP from compiling when the project reaches the limit of shader variants
Steps to reproduce:
1. Open the “IN-68197_REPRO.zip” Project
2. In Project Settings > Graphics, assign the HDRP asset
3. Observe the Scene and Game views
Expected results: The Scene and Game views are rendering
Actual results: The Scene and Game views are not rendering
Reproducible with: 2021.3.36f1, 2022.3.26f1, 2023.2.19f1, 6000.0.b16
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Workaround:
1. Increase the Shader Variant Limit to a higher value, for example, 128 (Project Settings > ShaderGraph, or Preferences > Shader Graph)
1.1. If it auto reverts to 64 open any shader graph file and try again
2. Reimport all assets (Right-click inside the Project window, and select “Reimport all”)
Notes:
- Reproducible in an empty project
- To reproduce: Install HDPR package, set Shader Variant Limit to 64, reimport all assets
- Reproduction happens if the Shader Variant Limit is set to anything lower than 96
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
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
- Unity Version Control server textfield’s text overlaps with the dropdown triangle button in the Explore repositories window when an organization with a long name is selected
Resolution Note:
The shader variant limit can help users set reasonable limits for their project needs. The default limit value has changed from version to version. Once the version is downgraded from 2023.2.10f1 to 2022.3.20f1, the variant limit is reset to 128, so the issue no longer occurs.
The speedtree8 shader has more than 64 variants, but the default limit is 128 to cover these variants. The rendering also does not break in the latest LTS versions, so we find this by design.