Unity Issue Tracker - “Invalid Keyword” is added when adding “Valid Keyword” to the material if using Debug window
Closed
UUM-44942
“Invalid Keyword” is added when adding “Valid Keyword” to the material if using Debug window
Unity: Shader System
As Designed
2023.2.X
2023.1.X
2022.3.X
2021.3.X
Debug inspector view shows the data as it is stored in the material. While some fields may be editable directly, it's not guaranteed for all fields.
How to reproduce:
1. Open the attached “Keywords.zip” project
2. In the project window, select “New Material.mat”
3. Change Inspector mode to “Debug”
4. Press “+” in the “Valid Keywords” list
5. Observe the result
Expected result: Valid Keyword is added
Actual result: Invalid Keyword is added