Search Issue Tracker
Fixed
Votes
0
Found in [Package]
1.0.0-preview.11
Issue ID
1305483
Regression
Yes
NullReferenceException gets thrown in the Console when the Label Text value contains CJK characters and text wrap is enabled
How to reproduce:
1. Open the attached '1305483.zip' project
2. In the Project window double-click on the 'Test' Asset
3. Observe the Console
Expected result: No visible errors present
Actual result: The 'NullReferenceException' errors appear in the Console
Reproducible with: UI Toolkit 1.0.0-preview.11 (2020.1.17f1, 2020.2.2f1), 1.0.0-preview.13 (2020.1.17f1, 2020.2.2f1)
Not reproducible with: UI Toolkit 1.0.0-preview.9 (2020.1.17f1)
Cannot test with: UI Toolkit 1.0.0-preview.9 (2018.4.30f1, 2019.4.18f1, 2020.2.2f1, 2021.1.0b2, 2021.2.0a1), 1.0.0-preview.13 (2018.4.30f1, 2019.4.18f1, 2021.1.0b2, 2021.2.0a1)(due to package errors)
Notes:
- The issue reproduces with Japanese, Chinese, and Korean characters
- The issue does not reproduce with Belarussian, Sanskrit, Arabic, Divehi, Odia, and Latin characters
- The following error gets thrown in the Console: 'NullReferenceException: Object reference not set to an instance of an object'
- The issue is also reproducible when changing the Text value via a Script
- The issue does not reproduce if the text wrap is disabled
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note:
Fixed in: 2021.2.0a6