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
- Input from the "Backslash" key is not detected in the Web Player when using the Japanese 106/109 key keyboard
- High "Total" value of the "TerrainManager.CullAllTerrains" when generating terrain
- UI Layout rebuild triggered by a rounding error when using TextMesh Pro
- Sprite Shape Corners and Edges are invisible when a closed Sprite Shape is used
- Script icon Gizmos cause lag/performance issues in Scene view even when the Scene Camera is not pointed at Gizmos
Add comment