You will need to create a separate editor-only module if you plan on using stuff from UnrealEd in your game. Add the dependency to that module instead of your runtime module, and don’t include it when cooking.
For example, QAGame.uproject looks like this:
{
"FileVersion": 3,
"EngineVersion": "1595950",
"PackageFileUE4Version": "226",
"PackageFileLicenseeUE4Version": "0",
"Modules":
{
"Name": "QAGame",
"Type": "Runtime",
"LoadingPhase": "Default"
},
{
"Name": "QAGameEditor",
"Type": "Editor",
"LoadingPhase": "Default"
}
]
}
Cheers,
Michael Noland