Search Issue Tracker
By Design
Votes
0
Found in
2021.3.36f1
2022.3.26f1
2023.2.19f1
6000.0.0b16
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
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- Crash on EnumerateDisabledKeywordsInVariantsArray or UNITY_XXH32 when rapidly saving ShaderGraph or VFXGraph changes
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.
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.