Hey guys, I hope you are all good
I am currently writing an Assets that is using both runtime and Editor, you can find the code there.
When importing my Asset in another project I get an error:
“Editor” is namespace but is used like a type
After looking through the scripts, I understood that the error came from the fact that:
- The other scripts are extending Editor (UnityEditor.Editor)
- I have an Editor namespace in my asset
There the hierarchy of my asset:

Do guys have any suggestions to fix that?
I can’t modify the other scripts as they are from the Asset Store.
Have a nice day
P.S: We also have the Input System package in the project which has an Editor namespace and we don’t get errors for that. I may miss something.