Search Issue Tracker
Fixed
Fixed in 6000.0.26f1, 6000.1.0a3, 7000.0.0a10
Votes
0
Found in
6000.0.16f1
7000.0.0a1
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 7000.0.0a10):
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.26f1):
Fixed thread issue when using CJK text.