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
- Unity Perforce Integration: VCS Connection Active State Fails via CLI with Valid Inputs
- Joint Gizmos for anchor and connectedAnchor do not respect their defined bodies when Swap Bodies is enabled
- Project Settings window opens up with a blank details pane when the "Configure" button is clicked in the Package Manager after installing the Cloud Diagnostics package
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.0f1