From 240ac6b206229dfcdba7a3f38341ae9b198aff6f Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Thu, 26 Nov 2026 10:29:32 +0900 Subject: [PATCH] fix: queue TextMeshPro parent for submesh rebuild close #416 --- Packages/src/Runtime/Utilities/TmpProxy.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Packages/src/Runtime/Utilities/TmpProxy.cs b/Packages/src/Runtime/Utilities/TmpProxy.cs index 9637a8f..f4f3318 100644 --- a/Packages/src/Runtime/Utilities/TmpProxy.cs +++ b/Packages/src/Runtime/Utilities/TmpProxy.cs @@ -54,6 +54,13 @@ namespace Coffee.UIEffects public override void SetVerticesDirty(Graphic graphic, bool enabled) { + // TMP submeshes are updated only when the parent is rebuilt, so queue the parent even if the replica is disabled. (#416) + if (graphic is TMP_SubMeshUI subMeshUI) + { + graphic = subMeshUI.textComponent as TextMeshProUGUI; + enabled = true; + } + if (graphic is TextMeshProUGUI textMeshProUGUI && textMeshProUGUI.isActiveAndEnabled) { if (enabled)