NullReferenceException: Object reference not set to an instance of an object
UnityEditor.GameObjectInspector.ClearPreviewCache () (at :0)
UnityEditor.GameObjectInspector.OnDisable () (at :0)
UnityEditor.Tilemaps.GridPaintPaletteClipboard:OnDisable() (at D:/Program Files/2020.3.2f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.2d.tilemap/Editor/GridPaintPaletteClipboard.cs:347)
this is the error- problem is its not with one of my scripts but a unity one
the line of code is:
if (m_Owner && previewUtility != null && previewUtility.camera != null)
If you need more info I will add.
does anyone understand why unity is throwing this up?
Game works just fine also.