Search Issue Tracker
Fixed in 2021.3.22f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.2.X, 2023.2.0a5
Votes
0
Found in
2021.3.18f1
2022.2.7f1
2023.1.0b4
2023.2.0a3
Issue ID
UUM-27639
Regression
Yes
Setting the Material.shaderKeywords field causes the field to become empty when the new shader keywords are the same as the existing ones
How to reproduce:
- Open the attached project "TestShaderKeywordBug2020-main.zip"
- Open Assets/Scenes/SampleScene.unity
- Enter Play Mode
- Click the "Button" Button in the Game view window
Expected results: The text stays the same in the Game view window
Actual results: The text changes to "Keywords:"
Reproducible with: 2021.2.18f1, 2021.3.18f1, 2022.2.7f1, 2023.1.0b4, 2023.2.0a3
Not reproducible with: 2020.3.45f1, 2021.2.17f1
Reproducible on: Windows 10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Group Selection title text size is smaller in renaming than the actual font size
- Rich Text is not correctly highlighted when searching through Debug Logs in the Console window
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
Add comment