Search Issue Tracker

Fixed in 7.4.1

Votes

0

Found in [Package]

8.0.1

Issue ID

1255263

Regression

No

[Shader Graph] Shader Compiler Exception when Input and Output between two Nodes have the same name

Package: Shader Graph

-

How to reproduce:
1. Create a new URP template project
2. Download the attached UnityPackage file named "RequiredShaders_1255263"
3. Import the package and open the "UI_LineSegment" graph
4. Connect the UI_LineSegmentArrayLookUpSubGraph "PreviousPoint" to UI_LineSegmentSubGraph "PreviousPoint"
5. Observe the Master node

Expected result: The shader is compiled without issues
Actual result: Compilation fails and the Editor either throws an appropriate error or crashes

Reproducible with: 2019.3.0b5(7.1.1), 2019.3.1f1(7.3.1), 2020.2.0a1(7.2.1), 2020.1.0b5(8.0.1)
Not reproducible with: 2019.3.2f1(7.4.1), 2019.4.1.f1(7.4.1), 2020.1.0b6(8.1.0), 2020.1.0b14(9.0.0-preview.14), 2020.2.0a15(8.1.0, 9.0.0-preview.14)
Could not test with: 2018.4.24f1(No URP), 2019.3.0a1, 2019.3.0b4(Required shader would not open)

  1. Resolution Note (fix version 7.4.1):

    No longer reproducible with URP 7.4.1, 8.1.0, 9.0.0-preview.14

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.