[4.14] Packaged build doesn't run

I upgraded my project from 4.13 to 4.14 today and made sure that packaging my game still worked fine. It packaged successfully but when I try running the resulting executable it just doesn’t open. I can see the process in task manager but a window never opens up. I tried packaging under shipping, development, and development with debug files as well as trying it with new, blank C++ and Blueprint Only projects, all with the same result.

Same.

Log file

dxdiag

Knew I was forgetting something, throwing my log and dxdiag in as well.
Log
DxDiag

I also found that when I left the shipping build open long enough the process did eventually stop, never got a window though. Left a development build running for a while and the process never went away so either it won’t or just takes much longer than a shipping build.

Hi,

I tried to reproduce this issue, but so far have not been successful. I created a new project in 4.13 (both binary as well as an Engine built from source code), opened a copy of the project using 4.14 Preview 1, then built the project. Once it finished I ran the executable and it started without any problems.

Would you be able to provide more details about how you are creating and upgrading the project? Also, are you packaging the project from within the Editor with default settings, or are you using the Unreal Front End?

Here is a zip of a project where this is happening. To create this I opened 4.14 through the launcher and created a new Blank Blueprint Project. I also uploaded a packaged build of that project to here Dropbox - File Deleted - Simplify your life
I created that by opening the project and going to File->Package Project->Windows->Windows (32-bit). I didn’t change any of the package settings before building it.
I added a code file to the project so I could build with the Unreal Frontend and that one did run, so it seems the problem is just with the in editor packaging.

Steps (4.14 Preview 1):

  1. New Project, Blueprint, Blank, Desktop, Maximum Quality, No Starter.
  2. In Editor, Package Project → Windows → Windows (32 bit)
    Result: not starting.

Project

Packaged Game

Compile Log

Hi everyone,

Thanks for the additional information. It appears that this is only an issue when packaging for Win32. I was initially packaging for Win64, and that seems to work fine. We already have ticket UE-37326 in for this. It looks like it is already reported as being fixed, but I do not currently have a version of the Engine that contains the fix in order to test it.

Hi ,

i know it is a old thread, but the same Problem do i have now with the 4.15 Version. I upgraded my Project from 4.14.3 to 4.15. Now the 32bit game-exe doesn’t run. The 64bit does.

Is there a new bug?

Hi ,

I made a test project in 4.14.3 and upgraded it to 4.15, then packaged it for Windows 32-bit. The packaged project ran normally for me. Would you be able to run your packaged project from the commandline with the -log command and provide the log file that gets created and stored in the Saved folder?

Hi . I will try it today and send you the logs

Hi ,

i tried to start with log. The only Thing that happens is, that the splash Screen appears and stay forever. The Log window Show me some Infos about the Memory usage. After this nothing happens.

I have to write this lines, because no logfile was created…

LogMemory: Platform Memory Stats for WIndowsNoEditor
LogMemory: Process Physical Memory: 66.45 mB used, 66,45 Peak
LogMemory: Process Virtual Memory: 90.51 mb used, 90.51 mb Peak
LogMemory: Physical Memory: 43.78 MB used, 4002.37 MB free, 4046.15 MB total
LogMemory: Virtual Memory: 251.45 mb used, 4002.37 MB free, 4095.88 MB free

And i forgot. If i build the game with only the MainMenu and 1 Level (that was for testing some things) than the 32 bit exe runs perfect. If i build the complete game the exe won’t run.

This happens since i upgraded the Project to 4.15. If i build the game with 4.14 all runs perfect.

I hope you can figure out what the Problem is.

Hello again ,

after testing…

  1. I can’t find the log file. It should be in the saved Folder. But theres only the Crash logs and the build log.
  2. I was able to run the game. BUT: I have to package the game without .pak.

I testing again with generate pak file. But that is strange, that the game don’t start if i use the pak file.
But i Need the game packed into a pak file. I don’t wan’t the hughe amount of files. The customers should not see them.

Any idea what can cause this Problem?

EDIT Say:
I tested again. This time with compressin on the pak file. This time i get a error message. I sent the message with description.

Sorry for bumping this up. Any news on it?

Hi ,

Sorry for the delayed response on this issue. I have been somewhat swamped for a while, and your issue slipped off my plate. I tried again to reproduce this issue and was again unsuccessful. Would it be possible to get a copy of your project to take a look at it? Also, what are the packaging settings that you are using?

Hi ,

thanks for the response. My Project is really big. How should i pack the Project?

My packaging Setting are:

BuildCookRun -project="D:/Unreal Engine 4/Work in Progress/WhereIsMyBrain_C 4.15/WhereIsMyBrain_C.uproject" -noP4 -clientconfig=Shipping -serverconfig=Shipping -nocompile -nocompileeditor -installed -utf8output -platform=Win64 -targetplatform=Win64 -build -cook -map=L_A_01+L_A_02+L_A_03+L_A_04V2+L_A_05+L_B_01+L_B_022+L_B_03+L_B_04+L_B_05+MainMenu+SelectLanguage -pak -createreleaseversion=1.0.3.5 -stage -package -cmdline=" -Messaging" -addcmdline="-SessionId=E90DC3D549475E05A5E*********** -SessionOwner='**********' -SessionName="****************"

These are the Settings for the 64bit Version. In 32bit i only replace win64 with win32. With 4.14.3 this worked.

Hi ,

I still have not been able to reproduce this issue in 4.15. I tried multiple packaging methods on multiple projects, with various packaging settings (including the ones that you mentioned using), and they all ran fine when they were packaged for Win32. I even tried with Shooter Game, one of our more complex sample projects, and that worked fine as well. Do you see this issue happen in a new project, or only in the project that you have been working on?

Are there any other map combinations that work other than just the main menu and single level that worked previously?

sorry for bumping it up again… but it’s same for me… I can’t get pass main menu level on both 32 and 64bit versions… set to development or shipping in ue4.16…
link text

Just wanted to say - I also have encountered this issue in 4.15. Packaged game works fine at 64-Bit, but not in 32-Bit. The game also fails to package if Nativization is set to anything other than “Disabled.”

32-Bit version gets past the splash screen and CTD, with no error.

I just wanted to find out if anyone is still seeing this happening. We have not been able to reproduce this internally since UE-37326 was fixed.

unfortunately i just ran into this with 4.19.2

Except i am packaging for Win64.

I am certain that a majority of these files are files that i moved while the editor was closed, and then re-imported them when prompted by the editor.