Search Issue Tracker
Fixed in 2021.3.X
Votes
0
Found in
2019.4
2020.3
2020.3.30f1
Issue ID
1423726
Regression
No
Unused shader variants are not stripped when the Addressables are built
How to reproduce:
1. Open the attached project "Addressables"
2. Click Window -> Addressables -> Groups -> Build -> New Build -> Default Build Script
3. Observe the "shader_variants.txt" file in the project folder
Expected result: There are no keywords "DYNAMICLIGHTMAP_ON", *,INSTANCING_ON,_METALLICSPECGLOSSMAP,_RIMLIGHT_OFF"
Actual result: There are keywords "DYNAMICLIGHTMAP_ON", *,INSTANCING_ON,_METALLICSPECGLOSSMAP,_RIMLIGHT_OFF"
Reproducible with: 2019.4.38f1, 2020.3.36f1
Not reproducible with: 2021.3.0f1, 2021.3.5f1, 2022.1.5f1, 2022.2.0a17
Reproducible on: Windows 11 Pro
Note: In 2019.4.38f1 only "*INSTANCING_ON,_METALLICSPECGLOSSMAP,_RIMLIGHT_OFF" exists
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
- Sprite Preview is broken when the Sprite is too tall or too wide
- Objects are invisible in Scene view when using Wireframe Shading Mode
- The property of a component becomes read-only when it is bound to "PropertyStreamHandle"
- Physics.Raycast does not work when used on the whole model
- Shader Graph changes the Position of Prefab instances in Play mode
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.0f1