diff --git a/Scripts/UIParticle.cs b/Scripts/UIParticle.cs index fa53467..af51c18 100644 --- a/Scripts/UIParticle.cs +++ b/Scripts/UIParticle.cs @@ -290,6 +290,7 @@ namespace Coffee.UIExtensions var j = 0; for (var i = 0; i < particles.Count; i++) { + if (!particles[i]) continue; GetRenderer(j++).Set(this, particles[i], false); if (particles[i].trails.enabled) {