Search Issue Tracker
By Design
Votes
0
Found in
2021.3.50f1
2022.3.60f1
6000.0.43f1
6000.1.0b11
6000.2.0a7
Issue ID
UUM-100278
Regression
No
Keywords on Material Variants aren't automatically saved when changed on original Material through Shader Graph
How to reproduce:
1. Open the attached “IN-96240_Material Keyword Reproduction” project
2. Open the Project window, navigate to the “Shader” ShaderGraph and open it
3. Navigate to the “Shader” ShaderGraph window and duplicate the existing Boolean keyword
4. Drag the duplicated Boolean keyboard to ShaderGraph Blackboard
5. Connect the duplicated Boolean keyword’s “Out(1)” node to the “Tangent(3)”, “Normal(3)”, or “Position(3)” output in the Vertex Output
6. Ensure no GameObjects are selected in the Inspector, then save the shader file
7. Go to File > Save Project to save the changes
8. Open the corresponding Mat.mat file in a text editor and observe the population of {{m_ValidKeywords:}} list
Expected Results: The Mat.mat file is updated immediately after saving the “Shader” ShaderGraph
Actual Results: The Mat.mat file is not updated immediately after saving the “Shader“ ShaderGraph
Reproducible with: 2021.3.50f1, 2022.1.0a1, 2022.3.60f1, 6000.0.43f1, 6000.1.0b11, 6000.2.0a7
Reproducible on: MacOS 15.3.1 (M1 Max)
Not reproducible on: No other environments tested
Workarounds: If you go to the project again and navigate to Scene View and then save the project, you can populate the {{m_ValidKeywords:}} with duplicate Boolean Keyboard
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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Resolution Note:
The material serialization state does not fully reflect the keyword feature capabilities of the entire shader.
Unless this issue results in incorrect material/shader behavior or other issues, I'm closing this As Designed, as there doesn't appear to be any unexpected behavior.