- Home /
The type or namespace name `Editor' could not be found.
I’m creating a mobile android app with Unity 3D. I’ve finished and I get no errors. When I try to build the app, it begins to build, then it stops and I get the error message “Assets/Plugins/Facebook/Editor/FacebookSettingsEditor.cs(11,39): error CS0246: The type or namespace name `Editor' could not be found. Are you missing a using directive or an assembly reference?”. The error comes from the script FacebookSettingsEditor.cs which is in the “Editor” folder. I have not changed any of the scripts that came with the Facebook Integration AddOn. I have been trying to fix this issue for over a month and I have no idea how to fix it.
Answer by grenzionky · Jun 14, 2018 at 07:45 PM
I know that this is a dead post, but I had this problem and it wasn't answered here, so here's what worked for me:
You need to put the script that derives from Editor in the Assets/Editor folder that you have to make yourself.
Answer by wolfrog · Dec 04, 2014 at 10:29 PM
to solve this you need to move Editor folder from Assets/Plugins/Facebook to Assets/Facebook
Answer by Esperento · Apr 10, 2015 at 04:33 PM
I had a similar issue with iTween and moving the iTween folder out of the Plugins folder (and into my Scenes folder) fixed it.
Answer by aliaramli · Apr 21, 2015 at 02:34 PM
Seems like every plugin that i used has the same behaviour. need to place the plugin editor into Assets/"PluginName"/Editor
Answer by dandmixer · Jul 20, 2018 at 05:44 PM
How do you put a script from Editor to the Assets/Editor that you have to make yourself?
How do you find it?
How do you make it?
????
literally, make it go to assets, right-click to create a folder, rename it Editor, move the scripts that derive from the editor into the folder. put the folder wherever you whish but not inside the plugins folder
you find the error: namespace name `Editor' could not be found use the path in the error to find the script. click and drag the script to the folder: Asset > Editor
Your answer
Follow this Question
Related Questions
Debug Error,Debugging app 0 Answers
Unity started rejecting my scripts? 1 Answer
Game works differently on android 1 Answer
error CSO246: The type or namespace "Nunit" could not be found. 0 Answers
Default Texture Platform/Format settings 2 Answers