Editor bug - InvalidProgramException

Hello everyone, I will start from the beginning.
Im working on my Bachelor thesis - procedural map generation in Unity. Im making a simple game where the map is procedurally generated (duh). Last time I worked on that project was probably 1.5month ago, today I revisited because deadline is coming. To my surprise, when I want to change the Texture Type of some sprite/png I get this error (Texture type doesn’t change, just throws this error)

InvalidProgramException: Missing or incorrect header for method set_wrapModeU
UnityEditor.TextureImporterInspector.GetSerializedPropertySettings (UnityEditor.TextureImporterSettings settings) (at C:/buildslave/unity/build/Editor/Mono/ImportSettings/TextureImporterInspector.cs:981)
UnityEditor.TextureImportPlatformSettings.GetSettings (UnityEditor.TextureImporter importer) (at C:/buildslave/unity/build/Editor/Mono/ImportSettings/TextureImportPlatformSettings.cs:220)
UnityEditor.Modules.DefaultTextureImportSettingsExtension.ShowImportSettings (UnityEditor.Editor baseEditor, UnityEditor.TextureImportPlatformSettings platformSettings) (at C:/buildslave/unity/build/Editor/Mono/Modules/DefaultTextureImportSettingsExtension.cs:88)
UnityEditor.TextureImporterInspector.ShowPlatformSpecificSettings () (at C:/buildslave/unity/build/Editor/Mono/ImportSettings/TextureImporterInspector.cs:1669)
UnityEditor.TextureImporterInspector.OnInspectorGUI () (at C:/buildslave/unity/build/Editor/Mono/ImportSettings/TextureImporterInspector.cs:1484)
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:1367)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

But month ago there wasn’t any problem with it, because I was having fun with some sprites, normal maps etc and I could change it anytime without any errors appearing.
Im using Unity 2018.2.9f1. I would gladly accept any help given. Cheers!

@

edit:
It seems that the problem dissapeared after giving it a 1 day off. Maybe it was because of PC restart, maybe because of Editor multiple restarts, who knows.