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

Addressable Assets

-

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

  1. Resolution Note (fix version 2021.3):

    Fixed in: 2021.3.0f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.