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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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