Search Issue Tracker
Fixed in 14.0.2
Fixed in 14.0.1 (in landing pattern)
Votes
0
Found in [Package]
13.1.3
Issue ID
1388149
Regression
No
VFX throws Shader errors when compiling it with HDRP Shader Graph attached that has "Add Custom Velocity" toggled on
How to reproduce:
1. Open the attached "case_1388149" project
2. Open the "ReproVFX" VFX Graph
3. Compile the VFX Graph
Expected result: The VFX is successfully compiled
Actual result: Shader errors related with the Shader's "VertexDescriptionFunction" function parameters are thrown in the Console log
Reproducible with: 12.1.2 (2021.2.7f1), 13.0.0 (2022.1.0a11), 13.1.3 (2022.1.0b2)
Couldn't test with: 7.7.1 (2019.4.34f1), 10.8.1 (2020.3.25f1), 12.0.0 (2022.1.0a10) (no "Add Custom Velocity" option in the Graph Settings)
Thrown errors:
Shader error in 'Hidden/VFX/New VFX/System/Output Particle Unlit Quad': 'VertexDescriptionFunction': no matching 1 parameter function at line 4403 (on metal)
Shader error in 'Hidden/VFX/New VFX/System/Output Particle Unlit Quad': 'VertexDescriptionFunction': no matching 1 parameter function at line 5559 (on metal)
Note:
- Compiling the "ReproSG" Shader Graph freezes the Editor
- Reproducible with Metal, DX11 Graphics APIs
- Couldn't test with OpenGL (not compatible with HDRP)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Long Prefab save times when using Unity 2022.2 and higher
- Console displays error "UnityException: Creating asset at path Assets/Scenes/ .scenetemplate failed." during scene template saving
- "Development Build" watermark is shown in non-development UWP release builds
- Console errors appear when the Inspector is set to Debug and a GameObject is selected
- A script public variable value is not used when set in the Inspector window
Resolution Note (fix version 14.0.2):
Fixed in 14.0.2 (2022.2.0a9)