Search Issue Tracker
Fixed in 2020.1.X
Votes
1
Found in
2017.4
2018.4.9f1
2020.1
Issue ID
1201105
Regression
No
ArgumentOutOfRangeException is thrown when deleting Japanese characters in Input Field
How to reproduce:
1. Open attached project "Case_1201105"
2. Load "SampleScene"
3. Make sure you have Japanese IME installed
4. Enter Play Mode
5. Start rapidly typing "a" (あ using Japanese IME) and backspace
6. Enter and delete the character ~50 times
Expected result: you can type and delete Japanese characters with no errors
Actual result: quickly typing and deleting Japanese characters throws an exception:
"ArgumentOutOfRangeException: Index and count must refer to a location within the string.
Parameter name: count"
Reproducible with: 2017.4.35f1, 2020.1.a15
Notes: Bug occurs very rarely, between 3 and 200 cycles of entering and deleting a character with the average being ~40-50. Significantly easier to reproduce using Unity Editor on iOS due to faster working IME (in order to reproduce more consistently on Windows, Build and Run the project). Reproducible using both default Input Field and the TextMeshPro Input Field.
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
- Shortcut Helper Bar does not appear when enabling it and disabling it
- "Property (urp_ReflProbes_BoxMin) exceeds previous array size" warning spams console after switching platforms
- Have to change Input Mapping Path twice for change to take effect when Auto-Save is enabled
- No Duplicate option is available when right clicking States in the Animator Window even though it's available via Shortcut
- Copied and Pasted States appear in a set location instead of where the Users cursor is located at when using the Pasting Shortcut
Resolution Note (fix version 2020.1):
Fixed in 2021.2.0a15