Search Issue Tracker
Fixed
Votes
0
Found in [Package]
14.0.0
Issue ID
1400736
Regression
No
"redefinition of '_Time'" error appears when using custom Node with an HLSL file in Shader Sub Graph
How to reproduce:
1. Open user attached project
2. Open "CameraDistanceCurve" Shader Sub Graph (Assets > Shaders > SubGraphs > CameraDistanceCurve.shadersubgraph)
3. Observe the "GetCurvedVertexPositionInputs" Node
Expected result: "redefinition of '_Time'" error appears
Actual result: No error
Reproducible with: 10.8.1 (2020.3.29f1), 12.1.4 (2021.2.12f1), 13.1.5 (2022.1.0b7), 14.0.0 (2022.2.0a5)
Could not test with: 7.7.1 (2019.4.35f1) (Errors after downgrade)
Note: In some Shader Graph versions error was "redefinition of '_Time' at line 40"
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