[SOLVED] Problem with particles

Hello!

It seems there is an issue with particles system when you clone one entity it display those errors.

How to reproduce.
-Clone an entity with a particle system component on it.
-Destroy it.
-Clone it again and the particle system crashes.

Any ideas how to fix this?

Hi,

This looks like a engine bug. I’ve created a github issue here: https://github.com/playcanvas/engine/issues/714

One workaround until this is fixed would be to enable/disable particle systems instead of destroying them.

Thanks,

1 Like

Thanks for your answer!

This is now fixed and deployed.

Thanks,