Search Issue Tracker
By Design
Votes
0
Found in
2022.3.64f1
6000.0.52f1
6000.1.10f1
6000.2.0b8
6000.3.0a1
Issue ID
UUM-110457
Regression
No
'Allow Material Override' does not keep Shader Graph settings
Reproduction steps:
1. Open the attached “IN-102285_DepthShadow2022.zip“ project
2. Open the “Assets/DevDunkStudio/Depth Shadows/Shaders/DepthShadow.shadergraph“ Shader Graph Asset
3. Observe the fields between “Surface Type“ and “Cast Shadows“ inside the Universal Settings section in the Graph Inspector
4. Create a new Material and select its shader as “Depth Shadows/DepthShadow“
5. Observe the newly created Material’s Surface Options fields in the Inspector
Expected result: The fields match the DepthShadow Shader Graph Universal Settings
Actual result: Surface Options are populated with default options ignoring the predefined options
Reproducible with: 2022.3.64f1, 6000.0.52f1, 6000.1.10f1, 6000.2.0b8, 6000.3.0a1
Reproducible on: M1 Max MacOS 15.5 (Tested by CQA), Windows 11 (User’s platform)
Not reproducible on: No other environment tested
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
- Inconsistent Placement of Search Clear (X) Icon in "Preset Manager"
- Gradient Editor window bottom-right gradient marker color is incorrect
- MaskField tooltips should only display Value when bound
- Reordering Enum Values in VFX Graph Uint Property expands the “Value” field
- Visual Effect Graph sample titles display in non-human-readable format
Resolution Note:
Hello!
Apologies for the confusion, but this is not how Allow Material Override works, or how it's intended to work. It's just an option to expose certain material properties that are normally not customizable per material. See https://docs.unity3d.com/Packages/com.unity.shadergraph@17.3/manual/surface-options.html
If you want to specify a "default" material that can be inherited from, ala. a prefab, I suggest you use Material Variant:s https://docs.unity3d.com/6000.1/Documentation/Manual/materialvariant-concept.html