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 (9)

  1. ZerkyWerky

    Oct 06, 2025 18:04

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

  2. yhaffner

    Oct 06, 2025 13:28

    Still broken. Workaround of HIBBYGAMES worked for me

  3. unity_4E068ED3BDC69A3C6A3F

    Oct 06, 2025 08:44

    @hibbygames. Changing font to system helped, thxn

  4. lloydsummers

    Oct 04, 2025 19:57

    Mentioning,
    https://issuetracker.unity3d.com/issues/errors-are-thrown-and-inspectors-ui-element-is-not-drawing-when-a-gameobject-with-script-component-using-a-list-attached-is-selected

    Was closed and listed as a duplicate of this one. But appears to not be the case. Posting here so when this is marked as fixed, us users get to say we told you so.

  5. gulpy3

    Oct 04, 2025 13:35

    This is still broken in the 6000.0.58f2 hotfix version to remedy the vuln.

  6. capyvara-origin

    Oct 03, 2025 21:48

    Same here, in which version a fix will be provided?

  7. amateurd

    Sep 29, 2025 12:11

    For me this affected regular Play mode when using the mouse to click the Play button as well. Generated a LOT of console errors many of which mentioning UIToolkit and TextCore.

    The workaround (changing Editor font to System, thanks HIBBYGAMES) fixes this in 6.2 (6000.2.6) which is good enough for me.

  8. wderksen98

    Sep 27, 2025 01:29

    Thank you for this, although for me I had to go to Edit > Preferences > General, rather than "Unity > Settings > General"

  9. hibbygames

    Sep 24, 2025 14:51

    work around: go to Unity > Settings > General, and change Editor Font from “Inter (Default)” to “System Font”

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.