Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
5
Found in
2019.4
2020.3
2021.2
2021.2.17f1
2022.1.0b10
Issue ID
1415962
Regression
Yes
[iOS] Caret is getting placed in the middle of a text when typing quickly when Input Field's "Hide Mobile Input" is on
How to reproduce:
1. Open project "bug-ios-inputfield-caret.zip"
2. Go to the Build Settings, select iOS, and deploy the app to the device
3. In the app focus on the Input Field and write any text fast
4. Observe the Input Field
Expected result: Caret is placed after the text
Actual result: Caret keeps getting placed in the middle of a text
Reproducible with: 2019.4.37f1, 2020.3.32f1, 2021.2.19f1, 2022.1.0b10, 2022.1.0b14
Not reproducible with: 2022.1.0a1, 2022.1.0b9, 2022.2.0a1, 2022.2.0a9
Reproduced with:
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
Notes:
-Not reproducible if "Hide Mobile Input" is turned off
-When deleting text the same issue occurs
-
mradel
May 27, 2022 22:31
This is still reproduced in Unity 2020.3.35f1, but not in unity 2020.3.30f1. Is there any plan to add the fix to the next Unity2020 LTS version?
-
artoonie
Apr 21, 2022 14:29
Hopefully the fix will make it into the next Unity versions, but for future travelers looking for more information:
The bug seems to have been caused here:
https://issuetracker.unity3d.com/issues/spaces-before-text-in-the-input-field-are-being-deleted-when-closing-the-keyboard-by-pressing-the-ok-button-on-android-devicesSo find the latest Unity version which does not have this fix. For 2020.3, that's 2020.3.30f1 does not have this bug.
-
artoonie
Apr 21, 2022 13:37
I am having this issue, but it is not resolved by turning off Hide Mobile Input.
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
- “Readme” Asset is unreadable in the Inspector window when switching Editor Theme to Light
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a12
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.1f1
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.3f1