Search Issue Tracker

Fixed in 2.2.0-preview.1, 3.2.0-pre.1

Votes

0

Found in [Package]

3.0.6

Issue ID

1368462

Regression

No

[TMP] Rich text mark tag does not highlight the last space character

Package: TextMeshPro

-

How to reproduce:
1. Open the attached project ("2022.1.0a11_repro.zip")
2. Observe the "Text (TMP)" GameObject in the Game view

Expected result: all spaces inside the text mark tag are highlighted
Actual result: the last space inside the text mark tag is not highlighted

Reproducible with: 2.1.6 (2019.4.31f1), 3.0.6 (2022.1.0a9)
Not reproducible with: 2.2.0-preview.1 (2019.4.31f1), 3.2.0-pre.1 (2020.3.19f1, 2021.1.23f1, 2021.2.0b13, 2022.1.0a9)

Note:
- Issue also affects the tab character

  1. Resolution Note (fix version 2.2.0-preview.1, 3.2.0-pre.1):

    Fixed in: 2.2.0-preview.1 (2019.4.0f1), 3.2.0-pre.1 (2020.3.0f1)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.