Search Issue Tracker

Fixed

Fixed in 12.1.11, 14.0.7, 15.0.5, 16.0.1

Votes

0

Found in [Package]

12.1.7

14.0.3

15.0.0

16.0.0

Issue ID

SGB-310

Regression

No

Syntax error is thrown when both inter-connected ShaderGraph and SubGraph have at least one "Gradient" property each

Package: Shader Graph

-

How to reproduce:
1. Open the attached “IN-13667” project
2. Select the “TestMAT” Material in the Project Browser

Expected result: No error is thrown
Actual result: “\[Worker0] Shader error in 'Shader Graphs/TestSG': syntax error: unexpected token '(' at line XXXX (on metal)” error is thrown in the Console log

Reproducible with: 10.10.0 (2020.3.38f1), 12.1.7 (2021.3.8f1), 13.1.8 (2022.1.14f1), 14.0.3 (2022.2.0b6), 15.0.0 (2023.1.0a8)

Reproduced on: macOS 12.3 (Intel)

  1. Resolution Note (fix version 16.0.1):

    Thank you for submitting this issue. The fix has been worked on and released on Unity version 2023.2.0a10

  2. Resolution Note (fix version 15.0.5):

    Thank you for submitting this issue. The fix has been worked on and released on Unity version 2023.1.0b12

  3. Resolution Note (fix version 14.0.7):

    Thank you for submitting this issue. The fix has been worked on and released on Unity version 2022.2.14f1

  4. Resolution Note (fix version 12.1.11):

    Thank you for submitting this issue. The fix has been worked on and will be released on Unity version 2021.3.23f1

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.