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
- A different Font Asset is applied when the original Font Asset is deleted while UI Builder is open
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
Add comment