Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.2.X, 2021.1.X
Votes
0
Found in
2019.4.6f1
2020.1
2020.2
2021.1
2021.1.0a4
Issue ID
1292128
Regression
Yes
Can't enable/disable local Shader Keyword variants when in built Player and using UsePass
How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. In the Game View, observe the Cube GameObject's behavior
4. Make a build
5. In the Player, observe the Cube behavior
Expected result: Cube's color is changed over time
Actual result: Cube's color isn't changed after enabling the Shader Keyword
Reproducible with: 2018.4.30f1 (issue is reproducible in the Editor as well), 2019.4.16f1, 2020.1.17f1, 2020.2.0f1, 2021.1.0a8
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
- Buttons in the Overlay Menu in the Scene View are all gray even if they're activated when Game View is maximized and minimized
- NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
Resolution Note (fix version 2021.2):
Fixed in Unity 2021.2.0a2 and above
Resolution Note (fix version 2021.1):
Fixed in Unity 2021.1.0b3
Resolution Note (fix version 2020.2):
Fixed in Unity 2020.2.3f1
Resolution Note (fix version 2019.4):
Fixed in Unity 2019.4.20f1