Unity Issue Tracker - UI Builder Material properties can be added multiple times redundantly when using the Material Definition foldout
Closed
UUM-138542
UI Builder Material properties can be added multiple times redundantly when using the Material Definition foldout
Unity: UI Builder
Won't Fix
6.6.X
6.5.X
6.4.X
6.3.X
Since the material properties sections reflects the USS styles, there's nothing preventing duplicate entries in this section. Because of that, the team made the decision to not fix this issue.
Steps to reproduce:
Create a new project using Universal 3D template
Go to Assets > Create > Shader Graph > URP > UI Shader Graph and open it
In the Blackboard, click "+" and add "Color"
Save and exit
Create a new UXML Document and open it in UI Builder
Add a Visual Element to the Hierarchy
In the Inspector, expand the Material foldout and assign the newly created Material from Shader Graph
Click on the "+" button and select "Color"
Repeat 8th step
Observe the behavior
Actual results: The exact same property can be added an infinite amount of times. Modifying a duplicated property's value instantly resets it to the top property's value making other properties redundant
Expected results: Properties that have already been added to the Material Definition override list are hidden, disabled, or grayed out in the "+" dropdown menu
Reproducible with versions: 6000.3.12f1, 6000.4.1f1, 6000.5.0b2, 6000.6.0a2
Can’t test with versions: 6000.0.71f1 (Materials foldout not available)
Tested on (OS): Windows 11
Notes:
This applies to all property types exposed in the Shader Graph blackboard
Prioritise and Follow this issue
Have a workaround or additional info about this issue?