After packaging, why does the .exe get renamed?

Just trying to get a Running Example on Windows of the Reflections project.

Selected Default Map… Reflections

Clicked Set as Default…

Packag Projects for Windows (Development)…

Packaging Complete…
Navigated to Unreal Projects\Reflections\WindowsNoEditor\Engine\Binaries\Win64
Executed UE4Game.exe

Message Box:

Game name case not detected for “UE4Game”. The engine ini should contain an entry [URL]GameName with the name of the game in the correct case.

I assume it means the DefaultEngine.ini which is present after packaging…

[URL]
GameName=Reflections

[SystemSettings]
; NOTE THAT ANY ITEMS IN THIS SECTION WILL AFFECT ALL PLATFORMS!!!
r.SSR=1

[/Script/Engine.Engine]
GameSingletonClassName=None
LightingOnlyBrightness=(R=0.300000,G=0.300000,B=0.300000,A=1.000000)
-LightComplexityColors=(R=0,G=0,B=0,A=1)
-LightComplexityColors=(R=0,G=255,B=0,A=1)

etc… etc…

Is this a bug or am I just missing something?

I have a Win7 x64 system.

Thanks.

Hi Shywalker,

Have you tried just packaging it to the desktop to see if it could be a pathing issue? Try it like this:

  1. File>Package Product>Windows
  2. Choose Desktop as destination>click ok
  3. Wait for package to finish, open up this filepath:
    Desktop\WindowsNoEditor\Reflections\Binaries\Win64
  4. click Reflections.exe

Let me know if this works for you.

Thank you and have a great day!

Thanks . If you had not said “click Reflectons.exe” I might not have ever figured it out.

I am not sure why but the EXE file is not named Reflections.exe.

It’s UE4Game.exe.

I renamed it to Reflections and Yahoo! it works.

Must I do this normally or should it be renamed when packaged?

Hi Shywalker,

Try re-downloading the project. Unfortunately we couldn’t re-produce the naming error on this side as it should package as the project name.exe, not UE4Game.exe. Let me know if that works.

Thank you!

Hi ,

To be honest with you…

I am an American currently working abroad in China and the subscription is not available for this country yet… so… I got the code second-handedly.

as soon as it is available I am purchasing a fresh package.

Thanks Again. I look forward to a clean UE4 when available.

I’m also having the same issue, UE4Game.exe produced in C:\UnrealEngine\Samples\TappyChicken\WindowsNoEditor\Engine\Binaries\Win64\ folder, which is renamed to TappyChicken.exe gets executed properly.

ive been attached the build log in the hope it sheds some light on the renaming issue.

build log

Hi sch5,

Please post your bug report in a new answerhub for tracking purposes. Thank you!

link to the new bug report

just rename UE4Game.exe to “yourProjectname”.exe and it should work
best way is copy and past the name of the project

best of luck :))