Search Issue Tracker
Fixed in 6000.0.26f1
Fixed in 6000.0.X, 6000.1.0a3, 7000.0.0a10, future release
Votes
0
Found in
6000.0.16f1
Issue ID
UUM-78458
Regression
Yes
“UnityException: get_bytes can only be called from the main thread.” error is thrown when asset name contains Chinese characters
Reproduction steps:
1. Open the attached “BugRepro” project
2. From the menu navigate to Tools > Bamboo > Asset Quick Access
3. From the Project window drag the “Assets/中文名.prefab” prefab into the Asset Quick Access window
4. Observe the Console window
Expected result: No errors are thrown
Actual result: “UnityException: get_bytes can only be called from the main thread.” error is thrown
Reproducible with: 6000.0.1f1, 6000.0.16f1
Not reproducible with: 2021.3.43f1, 2022.3.43f1, 6000.0.0f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: Reproducible when introducing Chinese characters in non-Unity assets
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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
Resolution Note (fix version future release):
Fixed thread issue when using CJK text.
Resolution Note (fix version 6000.1.0a3):
Fixed thread issue when using CJK text.
Resolution Note (fix version 6000.0):
Fixed thread issue when using CJK text.