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
- “Open” button in Inspector does not function for certain Assets
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
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.