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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UnityYamlMerge.exe doesn't correctly handle merge conflicts in modified properties on a prefab variant
- Inconsistent color scheme in "Details" section of "Select Presets" inspector window
- Crash on __pthread_kill when launching Editor via command-line with "-disableManagedDebugger" argument
- [VFX] Deleting “New Group Node” name doesn’t allow to type or add new name
- [VFX] Creating a long Group Node name breaks nodes boarders
Resolution Note (fix version 2019.4):
No longer reproduces on (at least) 2019.4.0f1, 2020.1.0b12, 2020.2.0a14
Resolution Note (fix version 2018.4):
Fixed in 2018.4.25f1