Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.3.X

Votes

1

Found in

2019.3.0a3

2019.3.0b10

2020.1

Issue ID

1198662

Regression

Yes

Crash on ActiveEditorTracker::ForceReloadInspector when AssetDatabase.SaveAssets is called from OnDestroy

Asset - Database

-

Steps to reproduce:
1. Open the project attached by the user ("saveassets-crash.zip")
2. Select "Something.asset" in the Project View
3. Toggle "Click Me" field in the Inspector
4. Select anything else in the Project View

Reproducible with: 2019.3.0a3, 2019.3.0b11, 2020.1.0a13
Not reproducible with: 2017.4.35f1, 2018.4.13f1, 2019.2.13f1, 2019.3.0a2

First 5 lines of the stacktrace:
0x00007FF7B252B2B5 (Unity) ActiveEditorTracker::ForceReloadInspector
0x00007FF7B1C78BD6 (Unity) SceneTracker::ForceReloadInspector
0x00007FF7B2905893 (Unity) AssetInterface::StopAssetEditing
0x00007FF7B28F71DE (Unity) AssetInterface::ImportAssets
0x00007FF7B288609E (Unity) AssetDatabase::SaveAssets

Comments (2)

  1. Storm4_

    Nov 26, 2019 18:28

    Additional info: crash happens on applying an ObjectOverride (though it manages to actually apply it), but does not happen on reverting it.

    Starting after crash gives me this:

    Artifact meta info not present for hash 9d790c8402605d61d5f21bf0cead74a8

  2. Storm4_

    Nov 26, 2019 18:13

    Same with OnDisable, in my case from a CustomEditor.
    0x00007FF7F35E3AA5 (Unity) ActiveEditorTracker::ForceReloadInspector
    0x00007FF7F2D37FF6 (Unity) SceneTracker::ForceReloadInspector
    0x00007FF7F3A07DD6 (Unity) RefreshInternalV2
    0x00007FF7F3A0A753 (Unity) StopAssetImportingV2
    0x00007FF7F393F7CD (Unity) AssetDatabase::StopAssetImporting
    0x00007FF7F3E67540 (Unity) AssetDatabase_CUSTOM_StopAssetEditing

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.