From 5cd48a463309270ec3d6501bde2add9944bbaf02 Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Thu, 22 May 2025 17:45:17 +0900 Subject: [PATCH] fix: skip processing when graphic is invalid --- Packages/src/Runtime/UIEffectBase.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Packages/src/Runtime/UIEffectBase.cs b/Packages/src/Runtime/UIEffectBase.cs index 9b62673..b99e475 100644 --- a/Packages/src/Runtime/UIEffectBase.cs +++ b/Packages/src/Runtime/UIEffectBase.cs @@ -129,6 +129,8 @@ namespace Coffee.UIEffects private bool CanModifyMesh() { + if (!graphic || !graphic.isActiveAndEnabled) return false; + // The transitionRoot is same as the transform => true. var root = transitionRoot; if (transform == root) return true;