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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2022.2.X):
User code was using rong API methods