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
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
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.