How to reproduce:
1. Open the attached “JapanLetters.zip“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter Play Mode
4. Switch to the Japanese IME
5. Put the mouse cursor between the two characters "AA" in the Input Field
6. Press the left mouse button, then press the LMB again and keep holding down the LMB
7. Type any Japanese character
8. While still holding down the LMB, move the cursor out of the Input Field
Expected result: No errors in the Console and the Input Field continues to work properly
Actual result: “ArgumentOutOfRangeException“ error in the Console and the Input Field can no longer be edited
Reproducible with: 3.2.0-pre.6, 3.2.0-pre.7 (2021.3.34f1, 2022.3.17f1), 2023.2.6f1, 2023.3.0b3 (TMPro merged into uGUI)
Couldn’t test with: 4.0.0-pre.1, 4.0.0-pre.2 (2021.3.34f1, 2022.3.17f1) (Errors in the Console)
Reproducible on: macOS 14.0 Sonoma (Intel)
Not reproducible on: No other environment tested
Note: Also reproducible in Player