Easy save works correctly when I use the play button in Unity. When I attempt to build I get 72 errors and it will not build. Using Unity 2020.1.11f1
Not sure if this is related to the issue, but to get Easy Save to work in my project I had to add an Assembly Definition into the "Easy Save 3" folder (this was required because I added an Assembly Definition to my project so I was able to write tests). I then added the ES3 Assembly Definition Reference to the Assembly Definition is my scripts folder.
Assets\Plugins\Easy Save 3\Editor\ES3Postprocessor.cs(3,19): error CS0234: The type or namespace name 'Callbacks' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3Postprocessor.cs(4,19): error CS0234: The type or namespace name 'SceneManagement' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\AddES3Prefab.cs(9,30): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\AddES3Prefab.cs(11,4): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\AddES3Prefab.cs(11,4): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\AddES3Prefab.cs(12,4): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\AddES3Prefab.cs(12,4): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\AddES3Prefab.cs(43,4): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\AddES3Prefab.cs(43,4): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\AddES3Prefab.cs(44,4): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\AddES3Prefab.cs(44,4): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\AutoSaveWindow.cs(25,31): error CS0246: The type or namespace name 'EditorWindow' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3Window.cs(7,27): error CS0246: The type or namespace name 'EditorWindow' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3Window.cs(14,4): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3Window.cs(14,4): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3Window.cs(15,4): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3Window.cs(15,4): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3Window.cs(175,33): error CS0246: The type or namespace name 'EditorWindow' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3Window.cs(172,10): error CS0246: The type or namespace name 'EditorWindow' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\HomeWindow.cs(12,21): error CS0246: The type or namespace name 'EditorWindow' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ReferencesWindow.cs(13,27): error CS0246: The type or namespace name 'EditorWindow' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\SettingsWindow.cs(18,25): error CS0246: The type or namespace name 'EditorWindow' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\SettingsWindow.cs(13,10): error CS0246: The type or namespace name 'SerializedObject' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\SettingsWindow.cs(14,10): error CS0246: The type or namespace name 'SerializedProperty' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ToolsWindow.cs(11,22): error CS0246: The type or namespace name 'EditorWindow' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\TypesWindow.cs(48,22): error CS0246: The type or namespace name 'EditorWindow' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3InspectorInfoEditor.cs(8,39): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3InspectorInfoEditor.cs(7,2): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3InspectorInfoEditor.cs(7,2): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3InspectorInfoEditor.cs(10,23): error CS0115: 'ES3InspectorInfoEditor.OnInspectorGUI()': no suitable method found to override
Assets\Plugins\Easy Save 3\Editor\ES3Postprocessor.cs(22,45): error CS0234: The type or namespace name 'AssetModificationProcessor' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3Postprocessor.cs(21,2): error CS0246: The type or namespace name 'InitializeOnLoadAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3Postprocessor.cs(21,2): error CS0246: The type or namespace name 'InitializeOnLoad' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3Postprocessor.cs(64,45): error CS0246: The type or namespace name 'PlayModeStateChange' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3PrefabEditor.cs(10,32): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3PrefabEditor.cs(8,2): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3PrefabEditor.cs(8,2): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3PrefabEditor.cs(15,23): error CS0115: 'ES3PrefabEditor.OnInspectorGUI()': no suitable method found to override
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(10,38): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(8,2): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(8,2): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(26,26): error CS0115: 'ES3ReferenceMgrEditor.OnInspectorGUI()': no suitable method found to override
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(130,6): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(130,6): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(131,6): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(131,6): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(162,6): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(162,6): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(163,6): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(163,6): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(169,6): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(169,6): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(170,6): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(170,6): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(178,6): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(178,6): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(179,6): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3ReferenceMgrEditor.cs(179,6): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3AutoSaveEditor.cs(10,38): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3AutoSaveEditor.cs(9,6): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3AutoSaveEditor.cs(9,6): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3AutoSaveEditor.cs(12,30): error CS0115: 'ES3AutoSaveEditor.OnInspectorGUI()': no suitable method found to override
Assets\Plugins\Easy Save 3\Editor\ES3AutoSaveMgrEditor.cs(10,38): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3AutoSaveMgrEditor.cs(9,3): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3AutoSaveMgrEditor.cs(9,3): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3AutoSaveMgrEditor.cs(12,24): error CS0115: 'ES3AutoSaveMgrEditor.OnInspectorGUI()': no suitable method found to override
Assets\Plugins\Easy Save 3\Editor\ES3GlobalReferencesEditor.cs(13,46): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3GlobalReferencesEditor.cs(11,6): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3GlobalReferencesEditor.cs(11,6): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Easy Save 3\Editor\ES3GlobalReferencesEditor.cs(29,30): error CS0115: 'ES3GlobalReferencesEditor.OnInspectorGUI()': no suitable method found to override
Assets\Plugins\Easy Save 3\Editor\ES3EditorUtility.cs(9,33): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)
[ScriptCompilation] Recompiling all scripts because: Recompiling scripts for editor because player build failed.
Error when trying to build
Re: Error when trying to build
Hi there,
This will be because your Assembly Definition File is misconfigured, as the scripts within the Editor folder are being compiled.
All the best,
Joel
This will be because your Assembly Definition File is misconfigured, as the scripts within the Editor folder are being compiled.
All the best,
Joel
Re: Error when trying to build
Would this be my main Assembly Definition File or the one I created for Easy Save?
I know very little on Assembly Definition, just followed a tutorial on how to create them to allow me to write tests.
I know very little on Assembly Definition, just followed a tutorial on how to create them to allow me to write tests.
Re: Error when trying to build
Ok I have it working now.
Needed to add another Assembly Definition file to the "Easy Save 3/Editor" folder.
Now I have 3 of them, Core (in my scripts folder), ES3 (in the "Easy Save 3" folder), and ES3-Editor.
I set ES3-Editor to run only in the "Editor" platform (seen this mentioned on another website where it looked like someone was having a similar issue with a different asset, may not be required).
I also added the ES3 file to the "Assembly Definition References" for the ES3-Editor file.
Needed to add another Assembly Definition file to the "Easy Save 3/Editor" folder.
Now I have 3 of them, Core (in my scripts folder), ES3 (in the "Easy Save 3" folder), and ES3-Editor.
I set ES3-Editor to run only in the "Editor" platform (seen this mentioned on another website where it looked like someone was having a similar issue with a different asset, may not be required).
I also added the ES3 file to the "Assembly Definition References" for the ES3-Editor file.
Re: Error when trying to build
Glad you managed to get it working.
All the best,
Joel
All the best,
Joel