From df2f3caafbe279f1457d74f8183cb561ac14aa17 Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Tue, 14 Oct 2025 19:43:29 +0900 Subject: [PATCH] fix: fix: second and subsequent bursts not displayed when world simulation and non-looping close #326 --- Packages/src/Runtime/UIParticleRenderer.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Packages/src/Runtime/UIParticleRenderer.cs b/Packages/src/Runtime/UIParticleRenderer.cs index f1ff6d4..92cf049 100644 --- a/Packages/src/Runtime/UIParticleRenderer.cs +++ b/Packages/src/Runtime/UIParticleRenderer.cs @@ -311,6 +311,13 @@ namespace Coffee.UIExtensions #endif { ResolveResolutionChange(psPos, scale); + + // fix: second and subsequent bursts not displayed when world simulation and non-looping. (#326) + if (!_particleSystem.IsLocalSpace() && !main.loop && _particleSystem.time == 0) + { + _delay = true; + } + Simulate(scale, _parent.isPaused || _delay); if (_delay && !_parent.isPaused)