Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
Issue ID
1221268
Regression
No
[Shadergraph] Derivative functions (DDX/DDY/DDXY) can be plugged into vertex inputs
Versions checked: 4.10.0, 7.2.1, Master (f1685926ca) (reproduces on all)
Repro steps (HDRP or Universal):
1. Create a PBR graph
2. Create a Position node
3. Create a DDX node
4. Plug the output of Position into DDX
5. Plug the output of DDX into Vertex Position
Expected result: you are blocked from plugging the output of DDX into Vertex Position, like you would for Sample Texture 2D
Actual result: you are allowed to plug it in, resulting in a shader compile error
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
- Player build freezes after calling Application.Quit() when the scripting backend is set to IL2CPP
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
Resolution Note:
Better to give an error than silently block connecting the node with no explanation.