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

  1. Resolution Note (fix version 7000.0.0a10):

    Fixed thread issue when using CJK text.

  2. Resolution Note (fix version 6000.1.0a3):

    Fixed thread issue when using CJK text.

  3. Resolution Note (fix version 6000.0.26f1):

    Fixed thread issue when using CJK text.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.