Search Issue Tracker
Active
Votes
0
Found in
2022.3.61f1
6000.0.45f1
6000.1.0b13
6000.2.0a8
Issue ID
UUM-102156
Regression
No
Keywords on Materials and their variants aren't updated until they are rendered in Scene view, Game view or Inspector
How to reproduce:
1. Open the “Material Keyword Reproduction.zip” project
2. Open the “SampleScene” scene
3. Close all open Scene views, Game views, and Inspector windows/tabs
4. Open the KeywordColorShader.shader file in any IDE
5. Uncomment the “[Toggle(_BLUE)]_BLUE("BLUE", Float) = 1” property and save the changes
6. Navigate to the Editor and save the project
7. Open up the OriginalMaterial.mat and VariantInScene.mat files in a text editor
8. Open the Scene view or Game view (anything that renders the objects with the materials)
9. Save the project again
10. Observe the “m_ValidKeywords:” list in the text editor
Alternatively:
1. Repeat steps 1-5 from the upper reproduction steps
2. Open the Inspector and select the VariantNotInScene.mat in the Project tab (to highlight it in the Inspector)
3. Open the “VariantNotInScene.mat“ in a text editor
4. Observe the “m_ValidKeywords:” list in the text editor
Expected Results: The Material/s have the “_BLUE” keywords
Actual Results: The Material/s do not have the “_BLUE“ keywords
Reproducible in: 2022.1.0a1, 2022.3.61f1, 6000.0.45f1, 6000.1.0b13, 6000.2.0a8
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- To reproduce again, the project needs to be re-extracted or the values need to be reset
- In 2022.1.0a1, “m_ValidKeywords” property is named “m_ShaderKeywords”
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [macOS] Project fails to load when Virtual Artifacts are Corrupted
- Long scheduler times on main thread when using InstantiateAsync with a singular massive Prefab
- The project hangs upon opening it when importing the "discrete_rank2_vector_v2_0.onnx" file
- Opening the Look Dev hangs the Editor when the window is opened for the first time in the project or after deleting the Library folder
- Look Dev has blurry icons on 4k monitors
Add comment