Search Issue Tracker
Fixed
Fixed in 6000.2.0b11, 6000.3.X, 6000.3.0a3
Votes
0
Found in
6000.0.48f1
6000.1.2f1
6000.2.0a10
6000.3.0a1
Issue ID
UUM-104598
Regression
Yes
TMP's Input Field caret disappears when its width is set to 1
Reproduction steps:
1. Open the attached "test_1636964" project
2. Open the "Assets/Test.unity" Scene
3. Enter the Play Mode
4. Input "1000"
5. Move the caret to a position between the second digit (which is '0') and the third digit (which is also '0')
6. Observe the caret
Expected result: Caret is visible
Actual result: Caret disappears
Reproducible with: 3.2.0-pre.1, 3.2.0-pre.12 (2022.3.60f1, 2023.2.0a13), (Built-in) 2023.2.0a14, 6000.0.48f1, 6000.1.2f1, 6000.2.0a10
Not reproducible with: 3.0.9 (2022.3.60f1, 2023.2.0a13)
Couldn't test with: 4.0.0-pre.1 (2023.2.0a13) error CS0029: Cannot implicitly convert type 'uint[]' to 'int[]', 4.0.0-pre.2 (2023.2.0a13) warnings Font Asset was not found
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- Reproducible in Player
- Caret disappears both when selecting its position with the mouse cursor and when moving it with the arrow keys
- Discussions thread: https://discussions.unity.com/t/the-input-field-caret-size-varies-can-disappear-if-width-1/1636964
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment