Destroying particle systems

In regular unity a particle system has a Stop Action that can be set to Destroy. A simple test shows that converted particle systems leave their entities behind.

How would I best go about replicating the Destroy Stop Action?

Slightly more advanced, I would also like to stop emmision of looping systems, then destroy them after the last particle dies out.

Thanks, Bas

This is fixed in a forthcoming package release. The lifetime callbacks were not properly handled for hybrid components.

3 Likes

@SebastianAaltonen Forthcoming package release refer to Entities package or Hybrid Renderer package?

Forthcoming entities package. Hybrid components is a core DOTS entities feature. I don’t know the ETA for the next DOTS entities package drop.

2 Likes

Btw does Hybrid components now support skinned mesh renderer in forthcoming entities package?

Skinned mesh renderer is natively supported. You just need to install dots.animation package.

More info here how to setup it:
https://docs.unity3d.com/Packages/com.unity.rendering.hybrid@0.11/manual/mesh_deformations.html

There’s a new version coming that doesn’t need custom ShaderGraph shader for skinning.

The skinned mesh renderer I mean OOP land skinned mesh renderer not DOTS land skinned mesh renderer. I still need to use it for OOP land particle system and OOP land Animator hybrid component until DOTS particle system and much more complete DOTS animation are available. Currently seems like hybrid component cannot support OOP land skinned mesh renderer properly at Entities 0.17. Nothing is render.

We don’t have any plans for hybrid component skinned mesh renderer. The plan is to improve the usability of the DOTS skinning.

The OOP skinned mesh renderer is already converted to DOTS, but you need a bit more setup currently to make it render correctly. The forthcoming version will no longer need a custom ShaderGraph shader and there will be other usability improvements too. Should be much closer to the OOP experience. You still need to install the DOTS.Animation package however, since the hybrid renderer package has no animation code in it.

I will invite some animation team people in this thread to share their plans, since I don’t know the details.

4 Likes

I would like to know what is the current progress of mobile device GLES support for hybrid renderer? I would like to use DOTS animation as soon as GLES support is available.