When running .emit() after one of the particle's emitted from the emitter's lifespan has been expired, it produces an error.
Version
4000.0.0-alpha.5
To Reproduce
Steps to reproduce the behavior:
Add the particles() component to a game object
Emit particles once
Wait until the lifespan of at least one particle has passed
Emit particles again.
Expected behavior
You should be able to emit particles again after they expire. Allowing for the same particle emitter to be used for long periods of time. I assume this issue arises from some logical array index error, keeping track of the particles.
Describe the bug
When running .emit() after one of the particle's emitted from the emitter's lifespan has been expired, it produces an error.
Version
4000.0.0-alpha.5
To Reproduce
Steps to reproduce the behavior:
Expected behavior
You should be able to emit particles again after they expire. Allowing for the same particle emitter to be used for long periods of time. I assume this issue arises from some logical array index error, keeping track of the particles.
Screenshots