Search Issue Tracker

Active

Under Consideration for 6000.0.X

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

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.