Search Issue Tracker
Fixed in 12.0.0
Votes
0
Found in [Package]
SRP Master (67cb89ac9e)
Issue ID
1328762
Regression
Yes
[Shadergraph] Using a Gradient property in a subgraph and using that subgraph in a shadergraph causes compile errors
Doesn't reproduce in 11.0.0 (Version: 2021.1.0b4.1811)
Reproduces in SRP Master (67cb89ac9e)
Repro steps:
1. Create a shadergraph and a subgraph
2. Create a "Gradient" property in the subgraph
3. Drag it onto the graph and plug it into a "Sample Gradient" node, plug that into the output
4. Drag the subgraph into the shadergraph
Expected result: the subgraph works
Actual result: the subgraph errors, if plugged into the stack, the shadergraph errors
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
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Scale Snapping with Gizmos does not work in the Scene view when Snapping and Absolute Grid Snapping are toggled off
Resolution Note (fix version 12.0.0):
We now validate property reference names to ensure the user can not generate a name that clashes with a reserved Shader Graph keyword.