Search Issue Tracker
Fixed in Unity 2018.3
[Editor] NullReferenceException on opening import settings of preset
NullReferenceException is thrown on console While opening import settings of preset
Steps to Reproduce:
1. Create a new project.
2. Create a preset of importer type.
3. Select open from "Import Settings" of preset from inspector tab.
NullReferenceException is thrown on console
Import Settings should open of the particular preset.
Windows 10 and Mac 10.13
2018.2.0b3, 2018.2.0b1, 2018.1.0f2, 2018.1.0b13, 2018.1.0b1, 2018.1.0a5
Working Fine on:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.AssetDatabase.OpenAsset (UnityEngine.Object objects) (at C:/buildslave/unity/build/artifacts/generated/bindings_old/common/Editor/AssetDatabaseBindings.gen.cs:334)
UnityEditor.Editor.OnHeaderControlsGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/Editor.cs:715)
UnityEditor.Editor.DrawHeaderGUI (UnityEditor.Editor editor, System.String header, Single leftMargin) (at C:/buildslave/unity/build/Editor/Mono/Inspector/Editor.cs:805)
UnityEditor.Editor.DrawHeaderGUI (UnityEditor.Editor editor, System.String header) (at C:/buildslave/unity/build/Editor/Mono/Inspector/Editor.cs:792)
UnityEditor.Editor.OnHeaderGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/Editor.cs:685)
UnityEditor.Editor.DrawHeaderFromInsideHierarchy () (at C:/buildslave/unity/build/Editor/Mono/Inspector/Editor.cs:786)
UnityEditor.Editor.DrawHeader () (at C:/buildslave/unity/build/Editor/Mono/Inspector/Editor.cs:656)
UnityEditor.Presets.PresetEditor.DrawInternalInspector () (at C:/buildslave/unity/build/Modules/PresetsEditor/PresetEditor.cs:207)
UnityEditor.Presets.PresetEditor.DrawPresetData () (at C:/buildslave/unity/build/Modules/PresetsEditor/PresetEditor.cs:92)
UnityEditor.Presets.PresetEditor.OnInspectorGUI () (at C:/buildslave/unity/build/Modules/PresetsEditor/PresetEditor.cs:80)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editors, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1374)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Absolute paths from included packages cannot be converted to virtual paths in Assets/Packages
- Crash in VCProvider when upgrading project from 18.3 to 19.1 and 19.2
- Android Vulkan corrupted rendering when there is no camera in the scene
- Creating mesh assets produces broken blendshapes
- Sort Order is not respected for a newly created Canvas until Play Mode is entered or any adjustments are made