Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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:
    305
    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:
    325
    Hi, you can check this post that tells how to avoid this.
     
    Aaron-Meyers likes this.