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
- Shader transparency, discard, and clip are not working when using the Player
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
- InvalidOperationException exception is thrown when Editor Default Text Rendering Mode is set to "Bitmap" and Editor Font is set to "System Font" and an array is expanded in the Inspector Window
Add comment