Search Issue Tracker
Fixed in 12.0.0
Votes
0
Found in [Package]
12.0.0
Issue ID
1351830
Regression
No
[VFX Graph] GraphicsBuffer throws 'Error while processing VFXType' when using bool in struct
How to reproduce:
1. Open the attached project "case_1351830-Project.zip"
2. Inspect the 'CustomData.cs' file
3. Note that it's using supported blittable types as stated in the documentation
4. Inspect the Console Window
Expected result: There shouldn't be any errors when GraphicsBuffer contains a bool property
Actual result: "Error while processing VFXType. The type CustomData is using GraphicsBuffer flag but isn't blittable." error is thrown
Reproducible with: 12.0.0 (2021.2.0b5, 2022.1.0a4)
Couldn't test with: 7.7.1 (2019.4.29f1), 10.6.0 (2020.3.15f1), 11.0.0 (2021.1.16f1) (VFXTypeAttribute.Usage.GraphicsBuffer is not available to be defined)
Link to docs: https://docs.unity.cn/Packages/com.unity.visualeffectgraph@12.0/manual/Operator-SampleBuffer.html
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 12.0.0):
The Documentation for the intended behaviour has been updated.