Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

weirdness with Particle Strip particleId over 64

Discussion in 'Visual Effect Graph' started by Aaron-Meyers, Apr 5, 2020.

  1. Aaron-Meyers

    Aaron-Meyers

    Joined:
    Dec 8, 2009
    Posts:
    301
    I'm using VFX graph to draw bezier curves and I've noticed things getting weird with particleId when I have more than 64 particles in a strip. Here is how I set the positions:
    upload_2020-4-4_19-6-23.png

    So when I have up to 64 for the count (spawned in a single burst), everything looks as it should:
    upload_2020-4-4_19-7-9.png

    But if I go up to 65, a glitch:
    upload_2020-4-4_19-7-49.png

    I have Particle Per Strip Count set to 1000 so I'm well under the limit there. Something with the particleId must be getting messed up! It seems to happen at regular intervals of 64... here is 256:
    upload_2020-4-4_19-8-43.png

    Is this a bug?
     
  2. JulienF_Unity

    JulienF_Unity

    Unity Technologies

    Joined:
    Dec 17, 2015
    Posts:
    284
    Hi, you can check this post that tells how to avoid this.
     
    Aaron-Meyers likes this.