Search Issue Tracker
Fixed in 2022.2.X
Votes
1
Found in
2021.2.0b2
2021.2.8f1
2022.1
2022.2
Issue ID
1393842
Regression
Yes
VFXCommon.hlsl shader errors on creating VFX graph
Steps to reproduce:
1. Create a new URP project or open an existing one
2. Install Visual Effect Graph package
3. Create a new VFX graph (Create -> Visual Effects -> Visual Effect Graph)
Expected result: The graph is created without any errors or warnings
Actual result: And error and 3 warnings are produced regarding shader compilation
Reproducible with: Visual Effect Graph 12.0.0 (2021.2.0b2), 12.1.0 (2021.2.0b16), 12.1.3 (2021.2.8f1), 13.1.2 (2022.2.0b2), 13.1.3 (2022.1.0b2)
Not reproducible with: Visual Effect Graph 10.7.0 (2020.3.25f1), 11.0.0 (2021.2.0a1), 12.0.0 (2021.2.0b1)
Notes:
- Reproducible on Windows and macOS
- Errors produced are:
"[Worker0] Shader error in 'Hidden/VFX/New VFX/System/Output Particle Quad': Couldn't open include file 'Packages/com.unity.visualeffectgraph/Shaders/VFXCommon.hlsl'. at line 1013"
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
Fix is available from 2022.2.0a10 onwards