Page 1 of 1

A null I can't beat ^^

Posted: Thu Nov 18, 2021 3:10 pm
by NicoEsteban
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.GameObjectInspector.ClearPreviewCache () (at C:/buildslave/unity/build/Editor/Mono/Inspector/GameObjectInspector.cs:195)
UnityEditor.GameObjectInspector.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/Inspector/GameObjectInspector.cs:189)
UnityEditor.AssetDatabase:SaveAssets()
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:OnDisable() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowMain.cs:115)
I tried to find a solution but I have no idea what produces it and how to solve it.

Any help would be appreciated.

Re: A null I can't beat ^^

Posted: Thu Nov 18, 2021 3:48 pm
by Tony Li
Hi,

Are you using Unity 2020.x or 2021.x? If so, can you back up your project and update to the latest Unity version in that series? The error is being thrown by Unity.