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
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
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