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
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)
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
- "Browse" button for Xcode in the "Build Profiles" window is too big
- USS styles fail to inherit correctly when contentContainer is overridden in a custom control
- Copying and pasting Animator Transitions leads to unexpected behaviour
- "ShaderGraph" misses a space in the "Project Settings" section
- UI Builder inspector’s checkbox fields can be activated when clicking anywhere in the value field
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
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
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
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