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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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.