Description

After playing with it and attaching in the debugger, it's sitting forever in MigratePreviousEngineIni(). It seems to be looping on DirectoryExists forever, likely here:

while(PreviousVersion.GetMinor() > 0)

Shipping builds are not executing when you try to open the executable. It packages fine though within the editor.

When attempting to run either .exe within the folder, the game never loads. You also are not able to add the .exe to a command prompt with -log and obtain the logs. You can attempt to use the shipping.exe that's within the binaries/win64 folder with -log through the command prompt but that leaves you with a descriptor error: failed to open descriptor file '../../../UE4Game-Win64-Shipping/UE4Game-Win64-Shipping.uproject'

Ran the .uproject within command prompt with -log and have attached those logs to Jira.

Steps to Reproduce

1. Create a new template
2. Set the building configuration for shipping
3. Package for Windows 32 or 64
4. Try and open the executable that's created

Callstack

ntdll.dll!0000000077cd168a() Unknown
KernelBase.dll!000007fefdac32c8() Unknown
UE4Game-Win64-Shipping.exe!FWindowsPlatformFile::DirectoryExists(wchar_t const *) Unknown
> UE4Game-Win64-Shipping.exe!MigratePreviousEngineInis(void) Unknown
UE4Game-Win64-Shipping.exe!FConfigManifest::UpgradeFromPreviousVersions(void) Unknown
UE4Game-Win64-Shipping.exe!FConfigCacheIni::InitializeConfigSystem(void) Unknown
UE4Game-Win64-Shipping.exe!FEngineLoop::AppInit(void) Unknown
UE4Game-Win64-Shipping.exe!FEngineLoop::PreInit(wchar_t const *) Unknown
UE4Game-Win64-Shipping.exe!GuardedMain(wchar_t const *,struct HINSTANCE__ *,struct HINSTANCE__ *,int) Unknown
UE4Game-Win64-Shipping.exe!GuardedMainWrapper(wchar_t const *,struct HINSTANCE__ *,struct HINSTANCE__ *,int) Unknown
UE4Game-Win64-Shipping.exe!WinMain() Unknown
UE4Game-Win64-Shipping.exe!__tmainCRTStartup() Unknown

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-15135 in the post.

0
Login to Vote

Fixed
Affects Versions4.8
Target Fix4.8
Fix Commit2539296
Release Commit2540881
CreatedMay 7, 2015
ResolvedMay 8, 2015
UpdatedApr 27, 2018
View Jira Issue