Hi all,
I don’t know why, but I can no longer create prefabs on my project. Whenever I click on Assets > Create > Prefab, the console displays this message:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.BaseProjectWindow.BeginPreimportedName Editing (Int32 instanceID, EndAction endAction, System.String pathName, UnityEngine.Texture2D icon, System.String resourceFile)
UnityEditor.ProjectWindowUtil.StartNameEditingIfPr ojectWindowExists (Int32 instanceID, EndAction endAction, System.String pathName, UnityEngine.Texture2D icon, System.String resourceFile)
UnityEditor.ProjectWindowUtil.CreatePrefab ()
Has this happened to anyone? How can I solve it? Note that at one point, I deleted my project’s cache folder. This might have broken something. Is there any way to repair it?