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
- [Android] Neither of the callbacks are called when several videos with VideoPlayer are spawned on the target on the Google Pixel devices
- Texture2D memory allocation size is significantly increased when running on iOS device
- No data received in Profiler when connecting to WebGL Player without "Autoconnect Profiler" option enabled
- Screen Space Ambient Occlusion is ignored when toggling "Post Processing" visibility in the Scene window overlay
- “RenderTexture.Create failed: requested size is too large.” errors are thrown and the Inspector window is black when selecting a CubemapArray texture
Add comment