Search Issue Tracker
By Design
Votes
0
Found in
6000.0.57f1
6000.2.3f1
6000.3.0b1
6000.4.0a1
Issue ID
UUM-117274
Regression
No
Particles spawn at the same position when using raw byte address buffer in VFX Graph
Reproduction steps:
1. Open the attached “IN-111503” project
2. Open the “Scenes/Levels/Level05_LevelPainting” Scene
3. Enter the Play Mode
4. Press the TILDE key ({{~}}) in the Game View
5. Observe the particles
Expected result: Particles spawn, spreading over an arc
Actual result: Particles spawn in the same place
Reproducible with: 6000.0.57f1, 6000.2.3f1, 6000.3.0b1
Reproducible on: Windows 11 (RX 6800XT)
Not reproducible on: Windows 11 (RTX 3070Ti)
Workaround:
In the “PaperCastle/Fire/FireSpreadViewSystem.cs” Script (line: 80) change “GraphicsBuffer.Target” from “Raw” to “Structured”.
Note:
- Issue only reproduces using an AMD GPU
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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Resolution Note:
The workaround proposed, declaring the buffer as structured, is actually the correct fix.
As described on the documentation, GraphicsBuffers used with Sample Graphics Buffer operator must be structured:
https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@17.4/manual/Operator-SampleBuffer.html
"The Sample Graphics Buffer Operator enables you to fetch and sample a structured buffer. A structured buffer is a GraphicsBuffer created using the Structured target.''
With Raw, things like padding and alignment can change per-platform, and behavior is undefined.