Search Issue Tracker

Fixed in 7.2.0

Votes

0

Found in [Package]

4.0.0-preview

Issue ID

1086680

Regression

No

[ShaderGraph] Copy shader on regular node results in misnamed output field

Package: Shader Graph

-

When using "Copy Shader" (RMB) on a regular node (not master) the resulting generated code misnames the output field in the resulting structs.

Repro:
1) Add any node with preview
2) RMB on node > Copy Shader
3) open any text editor and paste
4) See that the surface output field is called Out but the field it tries to read from it from is suffixed with the nodes name

(see image)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.