Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.3.X, 2020.1.X
Votes
0
Found in
2019.3.0a8
2019.3.0f3
2020.1
Issue ID
1209147
Regression
Yes
Local Shader Keywords are not used in Editor when loaded from AssetBundles
How to reproduce:
1. Open "SampleScene" from "LocalKeyword_1_6.zip"
2. Set "Play Mode Script" to "Use Existing Build" in Window>Asset Management>Addressables>Groups
3. Build Player Content
4. Start Play mode
5. Observe the colors of cubes
Expected result: Both cubes are red
Actual result: Right cube is white
Reproducible with: 2019.3.0a8, 2019.3.1f1, 2020.1.0a22
Not reproducible with: 2019.2.21f1, 2019.3.0a7
Could not test with: 2017.4 and 2018.4 - local keywords not supported
Notes:
1. Works correctly in standalone build
2. All keywords remain defined in material but not used when checked using Frame Debugger
3. Affects both shader_feature_local and multi_compile_local, even with "Skip unused shader_features" disabled
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
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] 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 2020.2):
Fixed in 2020.2.0a4
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.4f1
Resolution Note (fix version 2019.3):
Fixed in 2019.3.8f1