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
- Value discrepancy between LateUpdate and OnAnimatorIK when state transition occurs
- Keyword space mismatch error is constantly appearing in the Editor Console window when shaders contain compilation errors
- Inspector Window Tag Search Bar is not populated with the copy-pasted text when using CTRL+V to paste a tag name
- CompilationPipeline.assemblyCompilationFinished is not invoked when using RequestScriptCompilationOptions.CleanBuildCache
- Error “A renderer material mask can't store more than 128 materials.“ is present when the GPU Resident Drawer is disabled
Add comment