Search Issue Tracker
By Design
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X
In Progress in 6000.1.X
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
Comments (1)
-
Protozoaire
Jan 09, 2025 08:18
Autosizing in text fields, not supported? seriously 😅
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Incorrect color values are saved for Swatches when using HDR Color Picker
- Editor crashes when adding/removing a UI Document Style Sheet while in Play mode
- Scene and Game views turn black when all light sources are disabled
- Memory spike after activating Freeform Light2Ds
- Line Renderer Component elements do not fit in the Inspector window when minimising Inspector window is minimised
Resolution Note:
Auto-size text in a text field is not a capability that we support and we currently don't plan to support it in the future.