Hi, I have been getting tile map errors when I have something selected in the hierarchy and press play I get a non intrusive error that says the following two errors.
First error:
**NullReferenceException: Object reference not set to an instance of an object
UnityEditor.GameObjectInspector.ClearPreviewCache () (at <3b1af5075b0340cfb428dfcef292b2ea>:0)
UnityEditor.GameObjectInspector.ReloadPreviewInstances () (at <3b1af5075b0340cfb428dfcef292b2ea>:0)
UnityEditor.GameObjectInspector.OnForceReloadInspector () (at <3b1af5075b0340cfb428dfcef292b2ea>:0)
UnityEditor.Tilemaps.GridPaintPaletteWindow:OnDisable() (at C:/Program Files/Unity/Hub/Editor/2020.1.4f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.2d.tilemap/Editor/GridPaintPaletteWindow.cs:817)**
Second Error Involving the Clip Board:
**NullReferenceException: Object reference not set to an instance of an object
UnityEditor.GameObjectInspector.ClearPreviewCache () (at <3b1af5075b0340cfb428dfcef292b2ea>:0)
UnityEditor.GameObjectInspector.ReloadPreviewInstances () (at <3b1af5075b0340cfb428dfcef292b2ea>:0)
UnityEditor.GameObjectInspector.OnForceReloadInspector () (at <3b1af5075b0340cfb428dfcef292b2ea>:0)
UnityEditor.Tilemaps.GridPaintPaletteClipboard:OnDisable() (at C:/Program Files/Unity/Hub/Editor/2020.1.4f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.2d.tilemap/Editor/GridPaintPaletteClipboard.cs:347)**
I have uninstalled and reinstalled the tilemap packages in the package manager.
I have tried upgrading and downgrading the editor from 2019 to 2020 to 2019 back to 2020.
I have tried remaking the maps and changing tiles.
I have google searched the error and looked at tutorials on how tile maps work and found nothing.
Any Help fixing this error would be much appreciated.
↧