Search Issue Tracker
By Design
Votes
1
Found in
2019.4
2020.3
2021.2
2021.2.0f1
2022.1
Issue ID
1379369
Regression
No
Project window shows old sub-Asset name when using AssetDatabase.RenameAsset()
How to reproduce:
1. Open the attached project (RenameAssetTest.zip)
2. Go to Repro -> Test at the top of the Editor window
3. In the Project window, expand the Asset "New Name A" by clicking the arrow next to its icon
4. Select the sub-Asset added to "New Name A"
5. Observe the sub-Asset's name in the Project window and at the top of the Inspector window
6. Navigate to the folder "Assets/Scenes" in the Project window
7. Return to the parent "Assets" folder and observe the sub-Asset's name
Expected result: the name of the sub-Asset in the Project window is always "New Name B"
Actual result: when created, the name of the sub-Asset in the Project window is "Old Name B", which changes to "New Name B" upon changing folders
Reproducible with: 2019.4.33f1, 2020.3.24f1, 2021.2.5f1, 2022.1.0b1
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
- Multiple errors occur when setting the Render Object Event to AfterRenderingPostProcessing while using STP for Upscaling
- 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
Resolution Note (2022.2.X):
User code was using rong API methods