Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.5.0a5
Issue ID
UUM-130877
Regression
No
UI Builder allows overriding read only material properties
Steps to reproduce:
- Open the attached project
- Select Shader Graphs_testGraph material
- In the Inspector, observe that 3 material properties are exposed, two of them including 'Color' are read-only
- Open NewUXMLTemplate.uxml asset in UI Builder
- Select the Button Visual Element
- In the UI Builder's Inspector window, expand the Material Section
- Press the + button to add a Material Property
- Observe that 4 material Properties are available
- Add the Color Property
- Change the Color Property value
Actual results: Read-only material properties can be added and overriden in UI Builder's Inspector
Expected results: Read-only material properties are not shown in the UI Builder's Inspector
Reproducible with versions: 6000.3.0b9, 6000.3.3f1, 6000.4.0b3, 6000.5.0a4
Can’t test with versions: 6000.0.65f1, 6000.3.0b8 (UI Builder did not yet support Material Property overrides)
Tested on (OS): Ubuntu 24.04, macOS 26.1
Notes:
- Material Properties marked with the [PerRendererData] attribute are displayed in the Material Inspector as read-only and cannot be changed. These Properties can be selected and modified in the UI Builder window. The Color Property in the attached project is using this attribute.
- Material Properties marked with the [NonModifiableTextureData] attribute are not displayed in the Material Inspector. These properties can be selected and modified in the UI Builder window. For instance, ShaderGraph's UV Distortion node does not show a Noise Map property in the Graph, same for the Material Inspector. However, this Property is shown in the UI Builder
- Material Properties marked with the [HideInInspector] behave as expected and are not displayed in the UI Builder
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Active Targets section text in Graph Inspector is truncated despite available space
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
Add comment