Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2018.1.X, 2018.2.X
Votes
0
Found in
2018.1.0a5
2018.2.0b1
Issue ID
1033273
Regression
Yes
[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.
Actual Result:
NullReferenceException is thrown on console
Expected Result:
Import Settings should open of the particular preset.
Environment:
Windows 10 and Mac 10.13
Occurring with:
2018.2.0b3, 2018.2.0b1, 2018.1.0f2, 2018.1.0b13, 2018.1.0b1, 2018.1.0a5
Working Fine on:
2018.1.0a4, 2018.1.0a1
Stack trace:
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)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SHADERPASS has incorrect value when using Shader Graph for Built-In target
- [VFX] Gizmo still incorrectly rendered for a hidden property
- Nested object label indentation is incorrect when using the UI Toolkit Inspector
- Crash on tlsf_free when UI Elements are moved to the side by scrolling
- Setting VideoPlayer.time and pausing results in incorrect player.frame values
Add comment