Open pizzaeveryday opened 2 years ago
Sorry for the delayed response. I'm super busy with work these days and don't have time for game dev as much as I used to.
I'm not sure I'll have the time to dig into this for the foreseeable future, but if you do, feel free to make a pull request.
When adding either a Position (Mesh), Position (Skinned Mesh), or Position (Signed Distance Field) block to Initialize Particle, no particles spawn and I'm getting the following errors:
"Shader error in '[New VFX] [System] Initialize Particle': 'SampleMeshFloat3': no matching 3 parameter function at kernel CSMain at VFX.vfx(221) (on d3d11)"
"[New VFX] [System] Initialize Particle.compute: Kernel at index (0) is invalid"
With the Position (Mesh) block, changing the spawn mode from random to custom fixes the issue, but this doesn't work on the other blocks. Also, taking a random number operator and plugging it into the vertex index of a Position (Mesh) block with custom spawn mode causes the issue again.
This is occurring for me on various Unity versions, the specific ones I've tested are 2021.1.10, 2021.1.13, 2021.1.20, 2021.3.0, and 2021.3.1