Skip to content

Vertext Count Error when Text cotent out of range #6

Description

@AINightCoder

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.
c524fe4fed5ce8aab5e79bedabfae5a

this is text test cotent:
4a0610496643601ea02f53b0c688512

in the range
dfb21eacdc41ff2bcb3f364773881be

out of range after input newline
813271152828278a99b8790623649ed

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions