Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X

Votes

0

Found in

2020.2.0f1

2020.2.1f1

2021.1.0a8

2021.2

Issue ID

1302399

Regression

No

Duplicating asset replaces it with one of its sub-assets if the asset is created in a version before fix

Asset - Database

-

Reproduction steps:
1. Download and open the attached project "1189089.zip" in an Editor version prior to the fix
2. Create a parent Scriptable Object Asset (Right-click -> Create -> MyObjects -> ParentObject)
3. Add a child Scriptable Object Asset (MyMenu -> AddChildObject)
4. Close current Editor and open an Editor version after the fix
5. Duplicate (ctrl+d) the NewParentObject Asset
6. Observe the newly created NewParentObject Asset's child object

Expected result: NewParentObject's Asset is duplicated exactly
Actual result: NewParentObject's child Asset is replaced with the NewParentObject Asset

Reproducible with: 2020.2.0f1, 2020.2.2f1, 2021.1.0a8, 2021.1.0b2, 2021.2.0a1
Could not test with: 2018.4.30f1, 2019.4.18f1 (fix not backported), 2020.2.0b14, 2021.1.0a7 (fix not implemented)

Note:
This fix in question is from case 1189089: https://issuetracker.unity3d.com/product/unity/issues/guid/1189089/

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a4

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.4f1

  3. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.6f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.