Search Issue Tracker

Fixed in 2020.2.X



Found in




Issue ID




[Android] Input field caret jumps back a couple of characters when typing fast



Steps to reproduce:
1. Open and build User-supplied project ("")
2. Focus the Input field and type as fast as possible.
3. Check the caret.
4. (Optional) after writing a lot of text quickly, start deleting the text and notice the "ArgumentOutOfRangeException. Selection is out of range." errors

Expected: notice the extra characters appearing after the caret position.
Actual: the caret is always at the end of the string.

Reproduced in 2018.4.24f1, 2019.3.15f1, 2019.4.1f1, 2020.1.0b13, 2020.2.0a14

Watch the user-supplied video for a reference of reproduction
Sometimes deleting the entire string will lead to a couple of characters being displayed after the caret
Repro with "Hide mobile input" on and off, but way more consistent when using "Hide mobile input"

Repro on:
VLNQA00021, Samsung Galaxy S7 (SM-G930F), Android 8.0.0, CPU: Exynos 8 Octa 8890, GPU: Mali-T880
VLNQA00121, Samsung Galaxy S9 (SM-G960F), Android 9, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00277, Asus ROG Phone (ASUS_Z01QD), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630

No repro on:
Win 10 Editor.
Win 10 Standalone.
iPad 7th gen (iOS 13.2.2)

Comments (4)

  1. 364f28e438a3f7fdaaf0b25fa6df4c05?d=mm


    Apr 30, 2021 23:49

    I had this bug and I found out that it can be fixed by unchecking the "hide mobile input" box. Also the bug doesn't seem to happen on text mesh pro input fields

  2. 692aa616a42c20738765ce0655430a7d?d=mm


    Mar 17, 2021 09:55

    Still facing the same issue in 2020.3.0f1

  3. F53bd3f72eb170db2eafccbd6407d58c?d=mm


    Mar 10, 2021 10:38

    Still happens in 2019.4.18f1

  4. 743490008608da4f295c43fe43d4217f?d=mm


    Jan 31, 2021 10:49

    This is still happening for me in Unity 2020.2.2f1 at least on android...

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.