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?