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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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.