Search Issue Tracker
Fixed
Fixed in 12.1.6, 14.0.8, 15.0.6, 16.0.2
Votes
0
Found in [Package]
12.1.11
14.0.7
15.0.5
16.0.1
Issue ID
SGB-581
Regression
Yes
“Validation: Source file does not exist“ error appears in the Custom Function node if adding output before setting type to “string”
How to reproduce:
1. Open the user’s attached “Shader Graph BI Tutorial.zip” project
2. Open any Shader Graph
3. Create a “Custom Function” Node
4. In the Graph Inspector, add an Output
5. Change the name
6. Change the Type to “String”
7. Add “New = 1;” to “Body”
8. Observe the Node
Expected result: No error
Actual result: “Validation: Source file does not exist. A valid .hlsl, .cginc, or .cg file must be referenced at line 0“ error appears
Reproducible with: 12.0.0 (2021.2.0a16), 12.1.9 (2021.2.19f1), 12.1.11 (2021.3.26f1), 14.0.7 (2022.2.21f1), 15.0.5 (2023.1.0b18), 16.0.1 (2023.2.0a16)
Not reproducible with: 10.10.1 (2020.3.48f1), 12.0.0 (2021.2.0a15)
Reproduced on: macOS 13.2.1 (Intel)
Note: Not reproducible if setting type to “string” before adding output
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Add comment