Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

9.0.1

10.0.0-pre.1

10.0.0-pre.2

Issue ID

DANB-430

Regression

Yes

“ArgumentOutOfRangeException: startIndex cannot be larger than length of string” error is thrown when renaming bones of a rigged 2D sprite in the Skinning Editor

Package: 2D Animation

-

Reproduction steps:
1. Open the attached project “2DProject”
2. Select the “Assets/Eye_Bug_CG.psb” file, click the “Open Sprite Editor” Button in the Inspector Window
3. In the Sprite Editor Window click the dropdown menu at the top-left corner and select “Skinning Editor”
4. Select any of the bones to rename, and use the mouse cursor to highlight the name
5. Type with the keyboard and observe the console for errors

Expected result: Bone is renamed and no console errors
Actual result: Error “ArgumentOutOfRangeException: startIndex cannot be larger than length of string” is thrown

Reproducible with: 9.0.0-pre.1 (2022.2.0a14), 9.0.1 (2022.2.3f1, 2023.1.0b3), 10.0.0-pre.1,10.0.0-pre.2 (2023.1.0b3)
Not Reproducible with: 5.2.4 (2020.3.44f1), 7.0.9 (2021.3.17f1), 9.0.0-pre.1 (2022.2.0a13), 10.0.0-pre.2 (2023.2.0a6), 10.0.0 (2023.1.0b10, 2023.2.0a8)
Fixed in: 9.0.1 (2022.2.4f1), 10.0.0-pre.2 (2023.1.0b4)

Reproducible on: Intel macOS 13.0.1, Windows 10

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.