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
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
- Crash on various stack traces when using Texture2D.CreateExternalTexture() while rendering
- Clicking on section text in Node Library > Context folder throws NullReferenceException errors
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.0f1