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
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- "GetPreferedValue" returns max value when using auto-sizing
Add comment