Shuriken ParticleSystem using Mesh shape and Texture for clipping doesn't update on texture changes

Hi all,
I am using a Shuriken ParticleSystem component to spawn particles from a Mesh shape (generated at runtime). I am also generating a Texture2D at runtime to use as a clipping texture for spawning, and this is being updated every frame. Particles spawn correctly from the mesh shape, however the clipping texture seems to be ignored -

Here are the settings as they appear at runtime (some of them are assigned in code, such as the mesh and texture properties):

The runtime-generated mesh UVs look appropriate:
8011784--1031072--upload_2022-4-1_10-38-4.png

I think this might be a bug with the ParticleSystem, but any workarounds would be much appreciated. I’m using Unity 2020.3.21f1.

I think I’ve found a potential workaround - reassigning the ShapeModule.texture property every time the texture is updated seems to get the system to recognise changes. Is this the bug, or is something deeper not working?

1 Like

It’s likely a bug. I’m not sure how we could fix it, but you could file a bug report and we could try find a solution to detect this.

Glad you found a workaround though!