Search Issue Tracker

Fixed in 2019.3.X

Fixed in 2019.2.X



Found in


Issue ID




[Presets] Deleting a single preset from the project generates an error in the console



1. Open a fresh project
2. Create a preset out of anything (components, importers, assets)
3. Select the preset from the project view and delete it

Result: A NullReference Exception error thrown in the console about DestroyInternalEditor()
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Presets.PresetEditor.DestroyInternalEditor () (at C:/buildslave/unity/build/Modules/PresetsEditor/PresetEditor.cs:174)
UnityEditor.Presets.PresetEditor.OnDisable () (at C:/buildslave/unity/build/Modules/PresetsEditor/PresetEditor.cs:69)

Only reproducible on single selection ... having multiselection, the inspector isn't shown for one single preset so the problem doesn't appear

Regression introduced in 2019.3 ... apparently caused by AssetDatabaseV2 changes.

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.