Search Issue Tracker
Fixed in 14.0.2
Fixed in 12.1.5, 13.1.6
Votes
17
Found in [Package]
2021.2
2021.2.0f1
2022.1
Issue ID
1378545
Regression
Yes
Some lit Shaders are having huge count of variants which leads to project build prevention
How to reproduce:
1. Open the user's attached "GLTFSizeRepo" project
2. Select any ShaderGraph from "Packages -> glTFast -> Runtime -> Shader" folder
Expected result: Shader variants count is less than the Universal RP Lit Shader variants count
Actual result: Shader variants count is more than the Lit Shader. The variants don't get stripped in the building process of the project which eventually fails
Reproducible with: 2021.2.0a17, 2021.2.5f1, 2022.1.0a11
Not reproducible with: 2020.3.24f1, 2021.1.28f1, 2021.2.0a3
Couldn't test with: 2019.4.33f1 (downgrading leads to user's script errors), 2021.2.0a4 - 2021.2.0a16, 2022.1.0a12 - 2022.1.0a16 (the little dropdown doesn't display anything when clicked)
Comments (1)
-
TheoTowers
Jan 28, 2022 20:11
A fix would be much appreciated. We're not sure if we'll be able to release our game until this is done!
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
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
Resolution Note (fix version 14.0.2):
Fixed in 14.0.2 (2022.2.0a9)
Resolution Note (fix version 13.1.6):
Fixed in 13.1.6 (2022.1.0b10)
Resolution Note (fix version 12.1.5):
Fixed in 12.1.5 (2021.2.14f1)