Search Issue Tracker

Duplicate

Votes

0

Found in

2019.2

2019.3

2019.3.0b10

2020.1

Issue ID

1198659

Regression

No

A subasset becomes the main asset when renaming the main asset to the same name as subasset's

Asset - Database

-

How to reproduce:
1. Open the attached project "multiasset-bug.zip"
2. Open the context menu in the Project window and click on Create > _Something
3. Select the "_Something.asset" and open the context menu in the Inspector window
4. Click on the "1. Add Something Else"
5. Reimport the "_Something.asset" and rename it to the "SomethingElse.asset"
6. Select the "Something.asset" in the Project window
7. Open the context menu in the inspector and click on the "3. Is Main Asset?"
8. Observe a message in the Console Window

Expected result: the "True" message should be printed
Actual result: the "False" message is printed

Reproducible with: 2019.2.13f1, 2019.3.0b12, 2020.1.0a14
Could not test with 2017.4 and 2018.4 due to lack of AssetPipelineV2

Note: the issue is reproducible only with AssetPipelineV2.

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.