Search Issue Tracker

Won't Fix

Votes

0

Found in

2022.3.66f1

6000.0.57f1

6000.2.4f1

6000.3.0b1

Issue ID

UUM-116710

Regression

No

Editor hangs when constantly pasting a long string into the Parameter or Layer name in the Animator

-

Steps to reproduce:

  1. Create a new Unity project using the Universal 3D template
  2. Create a new GameObject (GameObject > 3D Object > Cube)
  3. Select the newly created GameObject in the Hierarchy window
  4. Open the Animation window (Window > Animation > Animation)
  5. Create a new animation in the Animation window
  6. Open the Animator window (Window > Animation > Animator)
  7. Create a new Layer or Parameter
  8. Rename the new Layer or Parameter and constantly copy and paste a long string into the text box
  9. Observe the Editor

Actual results: The Editor hangs

Expected results: The Editor does not hang or there is a a character limit

Reproducible with versions: 2022.3.66f1, 6000.0.57f1, 6000.1.16f1, 6000.2.4f1, 6000.3.0b1

Tested on (OS): macOS SIlicon Sequoia 15.6

Notes:

  • Before the Editor hangs, if you try to delete a Layer or a Parameter with a long name, the deletion popup is so long that the popup buttons are not visible
  • The Editor does not un-freeze ever, has to be Force Quit
  1. Resolution Note:

    The hang is caused by IMGUI text processing, and in our testing, only happens with an enormous number of characters. For example, the editor would hang for 15 seconds when dealing with 1.5 million characters.

    While used for its intended purpose (identifying parameters with human-readable strings), the field has adequate performance.

    The workaround is simple: don't paste one million characters in a text field.

Add comment

Log in to post comment