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
- Default and Result encoding properties have blank dropdowns by default when opening the Unity Version Control Settings
- Crash on "StoredGraphicsBuffer::GetGfxBufferID" when activating VFX via extention of Activation Track in Timeline window
- [Linux] Stack trace file path and line number information is missing when IL2CPP Stacktrace Information is set to "Method Name, File Name, and Line Number"
- Warnings due to obsolete Object.FindObjectsByType<T> usage and [SerializeReference] are logged when opening the Netcode for Entities setup scene
- Non-standard pointers cannot change Inspector values with arrow controls when crossing Inspector area
Resolution Note (fix version 2022.2):
Fix is available from 2022.2.0a10 onwards