Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.2.X
Votes
72
Found in
2019.3.0a1
2019.3.0b5
2020.1.0a1
Issue ID
1189089
Regression
Yes
Parent and child nested Scriptable Object Assets switch places when parent Scriptable Object Asset is renamed
How to reproduce:
1. Download and open the attached project "1189089.zip"
2. Create a parent Scriptable Object Asset (Right-click -> Create -> MyObjects -> ParentObject)
3. Add a child Scriptable Object Asset (MyMenu -> AddChildObject)
4. Rename the NewParentObject Asset
Expected result: NewParentObject Asset is renamed
Actual result: NewParentObject Asset switches places with the NewChildObject Asset and the NewChildObject Asset is renamed
Reproducible with: 2019.3.0a1, 2019.3.0b6, 2020.1.0a8
Not reproducible with: 2017.4.32f1, 2018.4.11f1, 2019.2.8f1
-
Zeejfps
Apr 05, 2020 18:57
alphabetically AFTER one of the SubAssets*
Since I can't edit my comment for some reason.
-
Zeejfps
Apr 05, 2020 18:56
To me it seems like the issue has something to do with how the assets are ordered based on the asset names. This bug only happens if the MainAsset is renamed to something that comes alphabetically before one of the SubAssets. Moreover, this only seems to happen only on the second time the MainAsset is renamed. (In my testing)
-
EvgenyVasilyev
Apr 05, 2020 18:53
While we are at it, can we add a way to rename SubAssets?
-
Zeejfps
Apr 05, 2020 18:51
Has my vote!
-
mateuszjaworski
Feb 07, 2020 16:11
Remember to switch asset pipeline from version 1 to version 2, because version 1 seems to work properly.
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 (fix version 2021.1):
Requires a system rewrite of how we handle main object name. This is considered a feature. Once it is complete, most bugs in regards to asset names should be fixed. This issue is tracked internally.