mob-sakai / ParticleEffectForUGUI

Render particle effect in UnityUI(uGUI). Maskable, sortable, and no extra Camera/RenderTexture/Canvas.
MIT License
4.42k stars 625 forks source link

Is custom simulation space broken? #293

Open MaxMaletin opened 10 months ago

MaxMaletin commented 10 months ago

I am updating from 3.3.9, and since then the behaviour of custom simulation space seems to have changed. I've got a particle effect inside a scroll rect with simulation space set to custom. When I move the scrollrect, I expect particles to just move with it, preserving their shape, but instead they move up and down way too far. It looks like this is a bug, or maybe custom simulation space is not supported in the current version?

Expected behaviour: particles keep moving up and down in this sin curve like pattern when I scroll

image

Observed behaviour: particles move all over the screen.

image

Also, scene preview breaks

image

I have modified the included demo scene to show this behaviour. To reproduce, open the scene and scroll up and down.

CustomSimulationSpaceBehaviourExample.zip

mob-sakai commented 10 months ago

Thank you for your reporting!

mob-sakai commented 6 months ago

Unfortunately, it is currently (4.6.3) not working correctly in custom simulation space.