Search Issue Tracker

Active

Votes

0

Found in

2021.3.46f1

2022.3.53f1

6000.0.30f1

6000.1.0a7

Issue ID

UUM-89963

Regression

No

TMP Input Field is moving Text and Caret UI positions for each new line when 'Auto Size' and 'Multi Line Newline' are used

--

-

Reproduction steps:
1. Open the attached “InputFieldCaret.zip” project
2. Open the “SampleScene”
3. Enter the Play mode
4. In the Input Field, input any text and press ‘Enter’ on the keyboard
5. Repeat 4th step a few more times
6. Observe the Text and Caret in the Input Field

Expected result: All text is centered in the Input Field
Actual result: Text and Caret GameObject positions are moved and text is not centered

Reproducible with: 2021.3.46f1, 2022.3.53f1, 6000.0.30f1, 6000.1.0a7

Reproducible on: Windows 10 (User reported), Windows 11
Not reproducible on: no other environment tested

Note:
- Resetting the ‘Rect Transform’ Component on the ‘Text’ GameObject (Canvas > Input Field > Text), shows the expected result

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.