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
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)
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
- Shader Graph Swizzle Node Input/Output and Mask Update Incorrectly After Undo
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
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
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