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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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