diff --git a/Packages/src/Runtime/SoftMask.cs b/Packages/src/Runtime/SoftMask.cs index c653092..7803245 100644 --- a/Packages/src/Runtime/SoftMask.cs +++ b/Packages/src/Runtime/SoftMask.cs @@ -598,6 +598,8 @@ public override Material GetModifiedMaterial(Material baseMaterial) private void SetDirtyAndNotify() { + if (isDirty || !this || !isActiveAndEnabled) return; + SetSoftMaskDirty(); MaskUtilities.NotifyStencilStateChanged(this); }