Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2020.1.X, 2020.2.X

Votes

0

Found in

2020.1.0a5

2020.1.3f1

2020.2

Issue ID

1274722

Regression

Yes

Text from edited prefab's component does not account for bold style when placing caret

Text

-

Reproduction steps:
1. Open attached project "TextPosition.zip" and scene "SampleScene"
2. In Hierarchy window, select Canvas/Edited GameObjected
3. In Inspector window, in the Text Component's text field, click on the word "sunt" (2nd to last line)

Expected result: The caret's position is exactly where you click
Actual result: The caret's position is ahead of where you click

Reproducible with: 2020.1.0a5, 2020.1.5f1, 2020.2.0b2
Not reproducible with: 2019.4.10f1, 2020.1.0a4
Could not test with: 2018.4.27f1 (scripts fail to compile)

  1. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0a1

  2. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0b4

  3. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.14f1

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.