I was working on a custom editor where everything was working well when suddenly, while i did nothing but removing a debug.log line, my editor stopped working. I had a CS0246 error saying my class attached to the editor didn’t exist. I looked for a fix and found that changing my editor location from Assets/Scripts/SomeFunctionality/Editor to Assets/Editor worked. I thought that it was possible to put this folder wherever i’d like but apparently not.
Could you please explain the reason for this to happend ?
Hello @Infenix ,
You can place your Editor folder in any location that you want inside of your Assets folder.
What you can do is to move back your script to the previous location and then take a screenshot or copy/paste the complete error message that you had in order to help you further with your issue.
Good luck with it!
Thanks for the answer. It looks like it’s working again so I don’t really know what has happened, I put the script at it’s old location but without an error this time. I’ll comeback if it occurs again.
1 Like