Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Bug Vertext Count Error when Text cotent out of range

Discussion in 'UGUI & TextMesh Pro' started by QiaoGaojian, Sep 17, 2021.

  1. QiaoGaojian


    Dec 20, 2016
    with Unity2018.4.36, I found that in the Text method OnPopulateMesh(VertexHelper toFill) , toFill.currentVertCount count RichText color tag text vertex when the content in this Text is out of range.
    Text content is same, change text height to make text out of text content range.

    in the range

    out of range after input newline

    Then I tested with Unity2017.4.16 and Unity2020.3.16.
    Unity2020.3.16 is same as Unity2018.4.36,
    but Unity2017.4.16 count RichText color tag text vertex alltime.