Error CS0246: The type or namespace name `Editor' could not be found

Added by Mauricio Tollin about 2 years ago

Hi,

I've installed MadLevelManager in my Unity game, and its working ok to play on editor and on devices.
But when I try to build it on MonoDevelop, I get the error:

Error CS0246: The type or namespace name `Editor' could not be found. Are you missing a using directive or an assembly reference? (CS0246) (Assembly-CSharp-Editor)

I am getting a total of 82 errors, missing namespaces Editor, SerializedProperty, and others.

How can I solve this error and compile it on MonoDevelop?

Using the version 2.3.6


Replies (6)

RE: Error CS0246: The type or namespace name `Editor' could not be found - Added by Piotr Korzuszek about 2 years ago

Hi Mauricio!

Could you please send me a full log file from Unity editor? Here's how to access editor log files:
http://blog.theknightsofunity.com/accessing-unity-game-logs/

Cheers!
Piotr

RE: Error CS0246: The type or namespace name `Editor' could not be found - Added by Mauricio Tollin about 2 years ago

Hi Piotr!

Hi,

I don't get error when running on Editor. I am getting the error when I compile it on MonoDevelop (MonoDevelop > Build > Build All).
I compile my scripts on MonoDevelop to check syntax errors. Its faster than go back to Unity and click to play the game.

Here is the log on MonoDevelop:


Building Solution: Puzzle (Release)

Building: Assembly-CSharp-Editor (Release)
Performing main compilation...
/Applications/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/2.10.12/bin/gmcs /noconfig "/out:/Users/bivis/Projetos/Puzzle/Temp/bin/Release/Assembly-CSharp-Editor.dll" "/r:/Applications/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/2.10.12/lib/mono/2.0/System.dll" "/r:/Applications/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/2.10.12/lib/mono/2.0/System.Xml.dll" "/r:/Applications/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/2.10.12/lib/mono/2.0/System.Core.dll" "/r:/Applications/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/2.10.12/lib/mono/2.0/System.Xml.Linq.dll" "/r:/Applications/Unity/Unity.app/Contents/Frameworks/Managed/UnityEngine.dll" "/r:/Applications/Unity/Unity.app/Contents/Frameworks/Managed/UnityEditor.dll" "/r:/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Advertisements/Editor/UnityEditor.Advertisements.dll" "/r:/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll" "/r:/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/Editor/UnityEditor.UI.dll" "/r:/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll" "/r:/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/Editor/UnityEditor.Networking.dll" "/r:/Users/bivis/Projetos/Puzzle/Assets/Movinarc/PackageUninstaller/Editor/SharpCompress.3.5.dll" "/r:/Applications/Unity/Unity.app/Contents/Frameworks/Managed/UnityEditor.Graphs.dll" "/r:/Applications/Unity/Unity.app/Contents/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll" "/r:/Applications/Unity/Unity.app/Contents/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll" "/r:/Applications/Unity/Unity.app/Contents/PlaybackEngines/TizenPlayer/UnityEditor.Tizen.Extensions.dll" "/r:/Applications/Unity/Unity.app/Contents/PlaybackEngines/STVPlayer/UnityEditor.SamsungTV.Extensions.dll" "/r:/Applications/Unity/Unity.app/Contents/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll" "/r:/Applications/Unity/Unity.app/Contents/PlaybackEngines/LinuxStandaloneSupport/UnityEditor.LinuxStandalone.Extensions.dll" "/r:/Applications/Unity/Unity.app/Contents/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll" "/r:/Applications/Unity/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport/UnityEditor.OSXStandalone.Extensions.dll" "/r:/Applications/Unity/Unity.app/Contents/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.Xcode.dll" "/r:/Users/bivis/Projetos/Puzzle/Temp/bin/Release/Assembly-CSharp.dll" /nologo /warn:4 /optimize+ /codepage:utf8 /t:library "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Examples/Editor/ExampleGenerator.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/IMadLevelGenerator.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimColorInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimMoveInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimRotateInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimScaleInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAbstractLayoutInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelBackgroundInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelBackgroundLayerInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelFreeLayoutInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelGridLayoutInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelIconInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelImageInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelInputControlInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelPropertyInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelPropertyTextInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelSettingsInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/MadLevelConfigurationEditor.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/MadLevelUpdater.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/MadLevelWatcher.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/IMadLevelConfigurationInspectorAddon.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelBackgroundTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelConfigurationInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelExtensionEditor.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelFreeTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelGeneratorTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelGridBulletsTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelGridTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelGroupsEditTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelIconTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelInitTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelMenu.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelMoveAssetsTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelProfileBrowser.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelProfileTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelPropertyEmptyTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelPropertySpriteTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelPropertyTextTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/TextureAlphaMultiplier.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/TrialInfo.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/Inspectors/MadAnchorInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/Inspectors/MadAtlasInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/Inspectors/MadDragStopDraggableInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/Inspectors/MadFontInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/Inspectors/MadFreeDraggableInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/Inspectors/MadSpriteInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/Inspectors/MadTextInspector.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/MadAtlasBrowser.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/MadAtlasBuilder.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/MadAtlasConverter.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/MadAtlasUtil.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/MadExternalTools.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/MadFontBuilder.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/MadInitTool.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/MadTexturePacker.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/MadCommons/Editor/MadAssets.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/MadCommons/Editor/MadEditorBase.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/MadCommons/Editor/MadGUI.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/MadCommons/Editor/MadInputDialog.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/MadCommons/Editor/MadPath.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/MadCommons/Editor/MadTrialEditor.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/MadCommons/Editor/MadUpdater.cs" "/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/MadCommons/Editor/MadWWWFormSender.cs" "/Users/bivis/Projetos/Puzzle/Assets/Movinarc/PackageUninstaller/Editor/PUManager.cs" "/nowarn:0169"
Compilation failed: 82 error(s), 1 warnings

/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(23,42): error CS0246: The type or namespace name `Editor' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(24,37): error CS0246: The type or namespace name `Editor' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelImageInspector.cs(22,39): error CS0246: The type or namespace name `Editor' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelPropertyTextInspector.cs(24,46): error CS0246: The type or namespace name `Editor' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelSettingsInspector.cs(24,42): error CS0246: The type or namespace name `Editor' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelGeneratorTool.cs(22,38): error CS0246: The type or namespace name `EditorWindow' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelProfileBrowser.cs(21,39): error CS0246: The type or namespace name `EditorWindow' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/MadAtlasBrowser.cs(24,32): error CS0246: The type or namespace name `EditorWindow' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/MadCommons/Editor/MadTrialEditor.cs(27,31): error CS0246: The type or namespace name `Editor' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/MadCommons/Editor/MadUpdater.cs(22,27): error CS0246: The type or namespace name `AssetPostprocessor' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/MadCommons/Editor/MadWWWFormSender.cs(21,33): error CS0246: The type or namespace name `EditorWindow' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(27,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(28,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(29,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(30,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(31,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(32,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(33,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(34,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(35,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(36,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(37,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(38,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(39,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(40,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(41,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(42,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(43,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(44,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(71,26): error CS0115: `MadLevelManager.MadAnimInspector.OnInspectorGUI()' is marked as an override but no suitable method found to override
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimInspector.cs(122,45): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimColorInspector.cs(28,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimColorInspector.cs(29,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimColorInspector.cs(30,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimColorInspector.cs(31,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimMoveInspector.cs(28,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimMoveInspector.cs(29,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimMoveInspector.cs(30,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimMoveInspector.cs(31,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimRotateInspector.cs(28,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimRotateInspector.cs(29,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimRotateInspector.cs(30,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimRotateInspector.cs(31,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimScaleInspector.cs(28,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimScaleInspector.cs(29,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimScaleInspector.cs(30,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimScaleInspector.cs(31,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(28,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(29,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(30,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(31,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(32,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(33,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(34,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(35,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(54,26): error CS0115: `MadLevelManager.MadAnimatorInspector.OnInspectorGUI()' is marked as an override but no suitable method found to override
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(100,42): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(124,32): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(134,30): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(153,40): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(160,36): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(173,37): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(23,2): error CS0246: The type or namespace name `CustomEditor' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadAnimatorInspector.cs(23,2): error CS0246: The type or namespace name `CustomEditorAttribute' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(28,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(29,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(31,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(32,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(34,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(35,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(37,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(38,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(40,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(41,5): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(99,31): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(106,30): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(146,37): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelAnimatorInspector.cs(146,64): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelImageInspector.cs(36,26): error CS0115: `MadLevelManager.MadLevelImageInspector.OnInspectorGUI()' is marked as an override but no suitable method found to override
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelPropertyTextInspector.cs(28,26): error CS0115: `MadLevelManager.MadLevelPropertyTextInspector.OnInspectorGUI()' is marked as an override but no suitable method found to override
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Inspectors/MadLevelSettingsInspector.cs(63,26): error CS0115: `MadLevelManager.MadLevelSettingsInspector.OnInspectorGUI()' is marked as an override but no suitable method found to override
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Editor/Tools/MadLevelProfileBrowser.cs(124,28): warning CS0109: The member `MadLevelManager.MadLevelProfileBrowser.Show()' does not hide an inherited member. The new keyword is not required
/Users/bivis/Projetos/Puzzle/Assets/Mad Level Manager/Scripts/Mad2D/Editor/MadAtlasBrowser.cs(294,45): error CS0246: The type or namespace name `SerializedProperty' could not be found. Are you missing a using directive or an assembly reference?

Build complete -- 82 errors, 1 warning

---------------------- Done ----------------------

Build: 82 errors, 1 warning

RE: Error CS0246: The type or namespace name `Editor' could not be found - Added by Mauricio Tollin about 2 years ago

PS.: I don't get any log errors when I try to run the game on Editor, or when I try to build it for devices on Editor. Just on MonoDevelop.
On MonoDevelop, the MadLevelManager scripts dont import UnityEditor. For example, this is on the top of MadAdminInspector.cs:

#if UNITY_EDITOR
using UnityEditor;
#endif

RE: Error CS0246: The type or namespace name `Editor' could not be found - Added by Piotr Korzuszek about 2 years ago

Oh I'm sorry. I read your first question shortly after waking up :-)

Well this is a curious one. UNITY_EDITOR should be defined even in MonoDevelop. This simple check guards my runtime scripts that are containing editor code. Of course this check is not needed for classes that can be found in Editor directory, but it should be working!

Please try recreating your MonoDevelop project files.

RE: Error CS0246: The type or namespace name `Editor' could not be found - Added by Mauricio Tollin about 2 years ago

Hi Piotr,
I've fixed this switching Monodevelop active configuration from Release to Debug (MonoDevelop: Project > Active Configuration > Debug; Or using the dropdown right to the play button).
Now, preprocessor UNITY_EDITOR is considered, and the errors no longer appear.

Thanks!

RE: Error CS0246: The type or namespace name `Editor' could not be found - Added by Piotr Korzuszek about 2 years ago

Thank you for the info :-)
It will become handy if somebody else will run into that issue!

Cheers!
Piotr

(1-6/6)