Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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.