Can't Package my Game

Hey there,

i ran into a serious problem. When trying to package my Game it always fails.
So i tried to Package one of Epics Examples to see if it’s 4.0.2 related but it worked perfectly fine.
So my guess is that is has to do with my Game code.
It’s actually funny that the error og says something about the Strategy Game even though i don’t use that template and i use the Thirdperson C++ Template.

So yeah im kinda clueless what to do. It fails with Development and Shipping Settings. Building it in the Editor is fine and plays but Cooking doesn’t work at all.

Any help is appreciated.

PS: Why is the Performence in the editor so nice while in the cooked game my performence is way lower and it stutters somehow. Any way to resolve this too ?

Thanks in advance

Same problem for me. Game work fine in Editor and in Standalone. Packaging in Development or Shipping mode is ok, but when I run the exe, the game window briefly appear, and the game isn’t launching.

Here it is the log for the development build :

[2014.04.12-22.17.31:322][ 0]LogWindows: Assertion failed: Count>=0 [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.0\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h] [Line: 2204]

Stack:
Address = 0x3f38f9f6 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f2e9a08 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f60de94 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f60c2cb (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f5e17c7 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f5ccf68 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f5ed10b (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x406a97e5 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x406d7df7 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x40369758 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x4035af9a (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x406d848d (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x40659efc (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3fcf9d2c (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3fcb77c3 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x40356ace (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f20725b (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f206c8d (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f206d7a (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f212679 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x41072cfd (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x773459ed (filename not found) [in C:\Windows\system32\kernel32.dll]
Address = 0x7747c541 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]
Address = 0x7747c541 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]

Address = 0x3f38f9f6 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f38e494 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f2fc7bf (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f2e9b20 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f60de94 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f60c2cb (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f5e17c7 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f5ccf68 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f5ed10b (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x406a97e5 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x406d7df7 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x40369758 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x4035af9a (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x406d848d (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x40659efc (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3fcf9d2c (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3fcb77c3 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x40356ace (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f20725b (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f206c8d (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f206d7a (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x3f212679 (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x41072cfd (filename not found) [in C:\Users\Eddy\Desktop\WindowsNoEditor\HighwayFastRacing\Binaries\Win64\HighwayFastRacing.exe]
Address = 0x773459ed (filename not found) [in C:\Windows\system32\kernel32.dll]
Address = 0x7747c541 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]
Address = 0x7747c541 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]

[2014.04.12-22.17.31:322][ 0]LogExit: Executing StaticShutdownAfterError
[2014.04.12-22.17.31:326][ 0]LogPhysics:Warning: PHYSX: …\PhysX\src\NpScene.cpp (2861) 8 : PxScene::unlockWrite() called without matching call to PxScene::lockWrite(), behaviour will be undefined.
[2014.04.12-22.17.31:326][ 0]LogWindows: FPlatformMisc::RequestExit(1)
[2014.04.12-22.17.31:326][ 0]Log file closed, 04/13/14 00:17:31

Hello,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes. If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, could you please submit a new report for it.

Thanks!