Cook Fails Due to Incombatible or Missing Module

anonymous_user_2db7ca80
Fri, 17 Jun 2016 16:39:43 +0000
Platform & Builds

The game builds fine in the editor if I do File>Package Game>Win64.

However if I run from the command line (or from Unreal Front End):

RunUAT.bat BuildCookRun -project="{project path.uproject}" -nop4 -platform=Win64 -clientconfig=Development -cook -allmaps -build -stage -pak -archive -archivedirectory="{build directory}"

I get the following errors:

LogInit:Warning: Incompatible or missing module: UE4Editor-BikerGangManager.dll
LogInit:Warning: Incompatible or missing module: UE4Editor-VictoryBPLibrary.dll

This is the log from that build: Failed Build Log

However, if I run with the following flag:

-UseDebugParamForEditorExe

Then the build proceeds as expected. This produces this log: Successful Build Log

It is a weird flag that I can’t find documented anywhere which makes me nervous. Why do I need this flag? What is it doing?

Edit: Attached Build Logs

Failed Build Log (without flag)

Successful Build Log (with flag)

Edit 2: More Information

I have tried running the command on the build machine (which hasn’t launched the editor) and with or without the UseDebugParamForEditorExe flag I get the same error (about incompatible/missing modules).

12 posts - 1 participant