Hey
I’m still investigating what could be causing the compile to fail for you however I need more information to make sure I’m understanding what is going on clearly. Could you post the entire output log from when the compile failed? Additionally could you post the full header for the plugin?
It may be that you will have to add dependency for “CoreUObject” to the .cs file for your plugin. You may also need to make sure that an #include of the .generated.h is added. You’ll also need to add the *_API markup on the class or method if you are exposing this to the editor in any way. These suggestions are worth testing if you have the chance however more information will help narrow down the cause.
Cheers