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
Comments (3)
-
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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
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