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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note (2022.2.X):
User code was using rong API methods