Search Issue Tracker
Fixed
Fixed in 6000.0.54f1, 6000.1.13f1, 6000.2.0b11, 6000.3.0a2
Votes
0
Found in
6000.0.50f1
6000.1.6f1
6000.2.0b4
6000.3.0a1
Issue ID
UUM-107901
Regression
Yes
"ArgumentOutOfRangeException" errors are thrown every time a keyboard key is pressed when renaming a component in UI Builder with a symbol and changing the name after label attribute warning
*Steps to reproduce:*
# Create a new Unity project using Universal 3D template
# Create a new UI Document (Assets > Create > UI Toolkit > UI Document)
# Open the created UI Document
# Add a Label from Library to the Hierarchy in UI Builder window
# Rename the Label in the Hierarchy to "asdasd" and save
# Change the Label name in the Inspector to "asd'" (with the ' symbol) and press Enter
# After the label attribute warning is shown, press Enter again to select the whole name string in the Inspector
# Press any keys on the keyboard (for example "asd")
# Observe the Console window
*Actual results:* Every time a key is pressed an "ArgumentOutOfRangeException: startIndex cannot be larger than length of string." error is thrown
*Expected results:* No errors are thrown
*Reproducible with versions:* 6000.0.50f1, 6000.1.6f1, 6000.2.0a8, 6000.2.0b4
*Not reproducible with versions:* 2022.3.62f1, 6000.2.0a7
*Tested on (OS):* macOS SIlicon Sequoia 15.3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "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
- [Android] Light2D visuals stacking over frames when using RenderGraph
Add comment