I did not find a way to do this. Need help, I’m blocked.
Let’s say I include the #include “UnrealEdMessages.h” in precompiled header. This will compile in Editor, but will give the “could not find include” error in Game. I go and add the UnrealEdMessages module to the public dependency modules. Now the project sees the UnrealEdMessages.h fine, but fails to include the UnrealEdMessages.generated.h that is inside of the .cpp.
Long story short, how do I properly include an editor module to in game?
$%^# well this sucks. Apparently an automation tool I was working on for a month goes to the trash can because it only works in the Editor. I guess bad news is better than no news. Thanks, KVogler.
What would speak against releasing it as a mod?
Editor code is only haram for stand alone games (where the user does not have to accept the Epic EULA).