Custom animation node not packaging

Hey Guys,

this is my first post here. I’ve already asked the question in the community forum but i don’t know if that was the right place to ask so I’m posting it here again.

I have following problem:
I’ve created a plugin and made a custom animation node which is basically just a copy of the modify bone node. Everything works fine as long as i play in the editor. When i try to pack my project i get following error:

PackagingResults: Error: Unable to instantiate module 'UnrealEd': Unable to instantiate UnrealEd module for non-editor targets.

Which is obviously due to my module being a runtime module and UnrealEd being editor-only. I tried switching my module type to UncookedOnly and then i was able to package the project but the animation node was not working at all(just nothing happened).

So how do i get it to work with a runtime module?

Found the solution.