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
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
- Editing and saving Curve changes in UI Builder window throws multiple errors in the Console
- [UI Builder] Value is not selected when left clicking on Spacing/Border Widget values
Resolution Note (2022.2.X):
User code was using rong API methods