Search Unity

Bug Text getting truncated inappropriately on iOS (Unity 2020.3.X + TextMesh Pro 3.2.0-pre.3)

Discussion in 'UGUI & TextMesh Pro' started by PG_Mblackman, Jun 28, 2022.

  1. PG_Mblackman

    PG_Mblackman

    Joined:
    Sep 7, 2021
    Posts:
    1
    Hello, I have found what appears to be a bug with TextMesh Pro that's causing labels to be truncated when not appropriate. When the text in the label includes an em dash (—), the text is truncated at that character. The label has more than enough space to display the full text. We have only identified this behavior on iOS and not our other platforms, including the editor and Android. This seems to happen when the label's overflow is set to ellipsis or truncate, and we haven't tested other settings.

    Has anyone experienced this issue? Is there a way to fix this in our game today?

    My environment:
    • Unity version 2020.3.33f1
    • TextMesh Pro version 3.2.0-pre.3
    • Running on iOS
    • Label overflow set to ellipsis