Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Bug LineBreaking Leading Characters aren't pushed to new lines in newer version of TextMesh P

Discussion in 'UGUI & TextMesh Pro' started by kennethyu-mm, Jan 5, 2024.

  1. kennethyu-mm


    Mar 6, 2023
    Hi all,

    I'm exploring TMP support for Asian characters. As the character "(" is included in the LineBreaking Leading Characters.txt file, I expect it to be pushed to a new line rather than placed at the end of a line. Like this:

    However, the actual outcome is this:

    I'm using Unity version 2023.2.3f1, which uses TextMeshPro 3.2.0-pre.4 I believe.
    But, later I downgraded the versions to Unity 2022.3.16f1 and TextMeshPro 3.0.6 and it does behave correctly. (It pushes "(" to a new line.)

    So, is downgrading Unity the only solution here? Can I downgrade TextMeshPro to version 3.0.6 while using Unity 2023.2.3f1?