Search Issue Tracker
Fixed in 1.5.5, 2.1.5, 3.0.5
Votes
0
Found in [Package]
3.0.4
Issue ID
1327754
Regression
No
[UWP] TextMeshPro duplicates characters on HoloLens2 when using Chinese language
Using using the OnScreenKeyboard in HoloLens2 to enter text into a TextMeshPro field while using the Chinese language, characters get duplicated in the output string.
How to reproduce:
1. Open the attached " TMPBug.zip" project
2. Open the "SampleScene2" scene
3. Build to UWP
4. Open built the solution in Visual Studio
5. Add the "Chinese (Simplified, China) Microsoft Pinyin" keyboard in Settings on the HoloLens 2
6. Start Debugging on either HL2 device or the emulator
7. Click on the "TMP input field" field
8. Switch to the Chinese keyboard
9. Make sure the lower left side of the keyboard shows "中" instead of "英"
10. Type "zhong" on the keyboard
Actual result: String is duplicated after each character entered resulting in this string: "zzhzhozhonzhong"
Expected result: All typed characters are shown individually ( z -> zh -> zho -> zhon -> zhong)
Reproducible with: 2021.2.0a213 (3.0.4)
Notes:
- This issue is due to a bug in the TextMeshPro package, were it doesn't properly handle InPlaceEditingAlloweed flag
- This issue is related to bug https://issuetracker.unity3d.com/issues/uwp-tmp-input-field-not-working-properly-on-hololens-2-builds in that the same TMP bug is the source for both issues
- This issue is related to this bug: https://issuetracker.unity3d.com/issues/tmp-input-field-chinese-slash-japanese-ime-issue-on-hololens-2-builds which fixed the text updates but not the duplicate characters
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment