Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Kernel errors with mesh, skinned mesh, and signed distance field position blocks #1

@pizzaeveryday

Description

@pizzaeveryday

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions