UIEffect
UIEffect copied to clipboard
TMP Pro error
Hi @mob-sakai Did you get this issue
Mesh.vertices is too small. The supplied vertex array has less vertices than are referenced by the triangles array.
UnityEngine.Mesh:set_vertices(Vector3[])
TMPro.TextMeshProUGUI:GenerateTextMesh() (at Library/PackageCache/[email protected]/Scripts/Runtime/TMPro_UGUI_Private.cs:4070)
TMPro.TextMeshProUGUI:OnPreRenderCanvas() (at Library/PackageCache/[email protected]/Scripts/Runtime/TMPro_UGUI_Private.cs:1656)
TMPro.TextMeshProUGUI:Rebuild(CanvasUpdate) (at Library/PackageCache/[email protected]/Scripts/Runtime/TextMeshProUGUI.cs:209)
UnityEngine.Canvas:SendWillRenderCanvases()
Hi @buihuuloc Hmm, I know a similar issue. https://github.com/mob-sakai/MeshEffectForTextMeshPro/issues/6
Did you use UIShadow
component or UIEffect
component with AdvancedBlur
?
I used UIShadow and UIEffect without AdvanceBlur
To be honest, in some cases, UIShadow and AdvancedBlur do not work well with TMPro.
Can you use TMpro's features instead?
- Underlay
- Outline
TMPP Outline is not good as your. I hope you can somehow fix in soon
I am having this issue as well. It seems to happen a lot when the TextMeshPro with UIShadow is a child of a gameobject with ContentSizeFitter and a LayoutGroup.
TMP shadow/outline effect doesn't seem to work with bitmap fonts, no that's not an option.