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
- The hover selection/highlight of items in the Insert button dropdown and the Documentation button dropdown are hard to see when hovered using the Light Editor theme
- NullReferenceExceptions appear when clicking to rename and then deleting the only GameObject in a scene
- Crash on "core::base_hash_set" when using nested [SerializeReference] fields in List<T> structures
- A ghost Game Window and multiple errors appear in the Editor when a Render Texture used by a Camera's "Target Texture" property is deleted
- Color Picker feels less smooth when dragging a Variables Color property in UI Builder Inspector
Resolution Note (fix version 2022.2):
Fix is available from 2022.2.0a10 onwards