Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Create a Cube GameObject (GameObject > 3D Object > Cube)
- Open the Animation window (Window > Animation > Animation)
- Create a new animation
- Open the Animator window (Window > Animation > Animator)
- Rename the new animation State to something very long
- Observe the Animator window
Actual results: The State name overflows and there is no limit on the name length so it can overflow infinitely
Expected results: The State name does not overflow, is shortened following with "..."
Reproducible with versions: 2021.3.51f1, 2022.3.62f1, 6000.0.50f1, 6000.1.4f1, 6000.2.0b3
Tested on (OS): macOS SIlicon Sequoia 15.3