Missing Game Binary, cant pack a game on Win64 shipping mode

Hi everyone,
Im trying to build my game with Win64 and shipping mode, but after a few secondes after the build starts, I window pop up saying
''Missing UE4Game binary.
You may have to build the UE4 project with your IDE. Alternatively, build using UnrealBuildTool with the commandline:
UE4Game ‘’
How can I solve that?

Are you using the GitHub version or the downloaded binary release? If the GitHub version, you probably will need to build the Win64 UE4Game with the Shipping configuration utilizing Visual Studio. If the binary release version, could you post a log from your editor so that we can see what happened?

-Pete

No, it will just build the actual game executable, your content and such should be fine.

-Pete

Yes, I’m using the GitHub version,

I will try rebuild the engine with the Shipping configuration, also, sorry for the noob question, do I have to make a back up file of the engine before rebuild it, you know, just in case to not lose anything?

Thank you so much Pete, you’re a life savior, but not i’m facing another problem, when I start the game, and press play, it’s says it’s loading, after a few seconts the main menu pop ups again, is that anything related with the ‘‘Shipping’’ configuration?

No, that seems more like either the map is not being cooked or the name of the map you are trying to load is wrong. Try making a build in development. Then bring up the console (press ~) and then open mapname where mapname is the name of the map you are trying to load. If that works, then it is just a bad name in the menu item. If it doesn’t, then the map and is not being cookery.
-Pete

Thank you so much again! after a couple of trying everything now runs perfectly, thank you so much :smiley:

???

We don’t automatically build the game executable for a content-only game, so part of using UE4 from GitHub means building the editor and building the base game executable (UE4Game). This is done by opening the generated Visual Studio project (usually found in the base directory where you downloaded the GitHub source) and building the UE4 project utilizing the Development configuration for Win64. That will build the executable and allow File|Package and Launch On to work. If you are building for a different platform (say Android), then you will want to specify the Android platform in Visual Studios platform drop down before building the executable.

-Pete

Correct, you utilized it to build the Development Editor configuration. You will also need to build the Development configuration which creates the actual game executable. To do that, open Visual Studio, find the dropdown in the toolbar which shows Development (and is probably cut off), click the down arrow, and you will see all of the different configurations. Selected Development and then build again and that will build the executable.

-Pete

And how do I build the base game executable if my project is blueprint only? You say “building the UE4 project utilizing the Development configuration for Win64” but this is already selected in my build settings in UE4. But I don’t use visuals studio for building, I just once used it to compile UE4 from github.

You want to say I should select “Development Client” instead of “Development Editor”?

No, there should be a configuration which is just “Development”. You want that one. “Development Client” is for client/server games and is not what you want to build for this.

-Pete

I had the same problem after loading the engine from github.
Solve it very easy. Adding code to your a pure blueprint project (File->Add Code to Project->None). It allows to be packaged from the menu.

as Syntopia said… worked like a charm.

Thanks!

Hi pete,

Why I am not able to package the BP-only-game in shipping mode even after I built “x64/Shipping” in Visual Studio?

Error in output Log:

MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: Exception in AutomationScripts.Automation: Missing receipt ‘UE4Game-Win64-Shipping.target.xml’. Check that this target has been built.

But the receipt is there…


So where is the problem…?

Hey syntopia, after adding the code file do you mean we can package from the unreal editor like going to (File->Package->win64). ?

Seems to be yes.

Hi, how can I find File->Add Code to Project->None, I’m using 4.9 and looks like there is no such option? Thanks!