Search Issue Tracker

Fixed in 2019.4.X

Fixed in 2018.4.X

Votes

0

Found in

2018.4.20f1

2018.4.23f1

Issue ID

1251093

Regression

Yes

Editor crashes when using AssetDatabase.RenameAsset with certain asset name lengths

Asset - Database

-

Reproduction steps:
1. Open the attached project ("case_1251093-RenameAsset.zip")
2. Open Tools > Utage > New Project
3. In the newly opened window, input "abcd" into "Input New Project Name" field
4. Click the "Create" button

Expected result: New folder with template files is created; no crash
Actual result: "Fatal Error!" error is thrown, stating that "curNewLowerCasePathName != 0"; project crashes

Reproducible with: 2018.4.20f1, 2018.4.23f1
Not reproducible with 2018.4.19f1, 2019.4.0f1, 2020.1.0b12, 2020.2.0a15

Notes:
1. The crash doesn't seem to be related to upper/lower case letters - managed to reproduce (and not reproduce) the issue with both uppercase and lowercase names
2. The crash seems to be related to with the specified name length - managed to reproduce the issue with name lengths of 3, 4, 7, 8; did not reproduce the issue with lengths of 1, 2, 5, 6, 16

  1. Resolution Note (fix version 2019.4):

    No longer reproduces on (at least) 2019.4.0f1, 2020.1.0b12, 2020.2.0a14

  2. Resolution Note (fix version 2018.4):

    Fixed in 2018.4.25f1

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.