Search Issue Tracker

Fixed

Votes

0

Found in

6000.0.58f1

6000.2.6f1

Issue ID

UUM-119358

Regression

Yes

"UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut

-

Steps to reproduce:

  1. Create a new Unity project using the Universal 3D template
  2. Open the Shortcuts window (Unity > Shortcuts)
  3. Enter Play Mode using the shortcut (command + p/control + p)
  4. Observe the Console window

Actual results: "UnityException: GetName can only be called from the main thread." errors are thrown

Expected results: No errors are thrown

Reproducible with versions: 6000.0.58f1, 6000.2.6f1

Not reproducible with versions: 6000.0.57f1, 6000.3.0b2

Tested on (OS): Ubuntu 24.04, macOS Silicon Sequoia 15.6.1

Notes:

  • Creating a new project after reproduction throws the same errors when the project is created
  • Does not reproduce if entering Play Mode by pressing it manually with the mouse cursor (not shortcut)
  1. Resolution Note:

    Fixed by another internal issue: UUM-117136: [INSTABILITY]: PropertyField_WithListView_RemembersPreviousExpandedState

Comments (16)

  1. milkyunicorn89

    Oct 30, 2025 11:34

    Hello everyone, this error is constantly occurring when working with arrays...

  2. dendyak

    Oct 29, 2025 11:36

    Same thing happening if you open any array list in Inspector. It does not happens if keep array lists closed. Solution with changing the font helped me.

  3. prakhars144

    Oct 24, 2025 11:49

    hibbygames solution worked, thanks.

  4. SuckMyLittleFinger

    Oct 19, 2025 16:00

    Still not fixed

  5. LukeDawn

    Oct 17, 2025 20:00

    Not fixed at all. Still happens in 6000.2.6f2

  6. yan-amita1

    Oct 17, 2025 05:43

    Correction: Changing the Editor Default Text Rendering Mode did not fix it for me, I still can't change the font to the System Font

  7. yan-amita1

    Oct 16, 2025 11:38

    Also present in 6000.2.6f2

    I couldn't change the Editor Font, but changing the Editor Default Text Rendering Mode from SDF to Bitmap fixed it for me

  8. ZerkyWerky

    Oct 06, 2025 18:04

    Found a quicker workaround, just re-select the current Layout.

  9. yhaffner

    Oct 06, 2025 13:28

    Still broken. Workaround of HIBBYGAMES worked for me

  10. unity_4E068ED3BDC69A3C6A3F

    Oct 06, 2025 08:44

    @hibbygames. Changing font to system helped, thxn

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.