Hey Guys,
I have just started using unity on my laptop but keep getting the error shown below. I don’t know what it means let alone how to fix it.
any help would be greatly appreciated.
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.GUIUtility.GetControlID (Int32 hint, FocusType focus, Rect position) (at C:/BuildAgent/work/b0bcff80449a48aa/Runtime/ExportGenerated/Editor/GUIUtility.cs:257)
UnityEditor.EditorGUI.GetControlID (Int32 hash, FocusType fType, Rect position) (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/MonoGenerated/Editor/EditorGUI.cs:279)
UnityEditor.PreviewResizer.get_id () (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/Mono/GUI/PreviewResizer.cs:29)
UnityEditor.PreviewResizer.GetPreviewSize () (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/Mono/GUI/PreviewResizer.cs:126)
UnityEditor.ObjectSelector.OnEnable () (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/Mono/ObjectSelector.cs:100)
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.WindowLayout:LoadWindowLayout(String)