Search Issue Tracker

Fixed in 2019.3.X

Fixed in 2020.1.X

Votes

1

Found in

2019.3.0a9

2019.3.0f1

2020.1

Issue ID

1204994

Regression

Yes

Editor crashes on ReserializePref after deleting a prefab using AssetDatabase.DeleteAsset in the OnPostprocessAllAssets method

Asset - Database

-

How to reproduce:
1. Open the user's attached "DeletePrefabCrash.zip" project
2. Drag and drop any object from the Hierarchy window to the Project window
-- Observe the crash

Reproducible with: 2019.3.0a9, 2019.3.0f3, 2020.1.0a17
Not reproducible with: 2017.4.35f1, 2018.4.14f1, 2019.3.0a8

First 5 stack trace lines:
0x00007FF66F7B131B (Unity) AssetDatabase::ReserializePrefabs
0x00007FF66F79D0DA (Unity) AssetDatabase::ReSerializeAssetsIfNeededButNoImport<core::hash_set<UnityGUID,core::hash<UnityGUID>,std::equal_to<UnityGUID> > >
0x00007FF66F7B01F7 (Unity) AssetDatabase::ReSerializeAssetsWithoutImportIfNeeded
0x00007FF66F876DD4 (Unity) ImportAndPostprocessOutOfDateAssets
0x00007FF66F87E75A (Unity) RefreshInternalV2

  1. Resolution Note (fix version 2019.3):

    Fixed in: 2020.2.0a2

  2. Resolution Note (fix version 2020.1):

    Fixed in: 2020.1.0b1

  3. Resolution Note (fix version 2019.3):

    Fixed in: 2019.3.7f1

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.