Search Issue Tracker
Fixed in 1.4.2
Votes
0
Found in [Package]
1.4.0
Issue ID
1146626
Regression
Yes
[TextMeshPro] Entering or deleting Chinese text in TMP Input Field causes crashing and unhandled exceptions in TMP_InputField.cs
How to reproduce:
1. Open user-submitted project (TMP_InputField_651631)
2. Change your keyboard input source to Chinese(Pinyin - Simplified)
3. Open the Repro scene and enter Play Mode
4. Start typing 'asd' repeatedly into the Input Field until an exception occurs
5. Hold 'Backspace' to delete the characters from the Input Field until another exception occurs
Expected result: no exceptions are thrown, the Editor does not crash
Actual result: IndexOutOfRangeException and ArgumentOutOfRange exceptions are thrown, sometimes a crash occurs
Reproducible with Unity versions: 2018.3.0b11, 2018.3.13f1, 2019.1.0b4, 2019.1.0f2, 2019.2.0a12
Could not test with Unity versions: 2017.4.26f1, 2018.3.0b10, 2019.1.0b3(Package version incompatibility issues)
Reproducible with package versions: 1.4.0 - preview.1b, 2.0.0
Not Reproducible with package versions: 1.3.0
Notes:
Typing 'asd' repeatedly in the Input Field causes the Editor to crash in 2019.1 and 2019.2 versions of Unity
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 1.4.2):
This issue has been resolved and the fix will be included in the release of the TMP package version 1.4.2 for Unity 2018.3 and 2.0.2 for Unity 2019.1