Packaging game fails after 4.7.3 upgrade

I am unable to package my game. Everything was working in 4.7.2. I’ve no idea how to tackle this.

I’ve recreated the blueprint only project, copied the assets over, checked to make sure everything compiles.

Log files are attached.
Any suggestions are welcome.

Thank you!

MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.03.22-19.46.13:313][  0]LogWindows: === Critical error: ===
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: Assertion failed: IsValid() [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 647] 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 

link text
link text

Found the problem by making a copy of the project, loading it, and then deleting asset after asset until it successfully cooked.

The problem was a faulty font asset that I haven not touched since 4.6.1 when I first started using UE4.

Hope this helps someone, can be very frustrating problem to deal with. Wish packaging tools reported which asset has a problem.

// This is not an answer to question, but I can’t paste that much code to comment

I had the same issue with 4.7.3
Your tip about font asset gaved me a clue. I looked on crash log from build a noticed that is partially refering to font.cpp

[2015.05.19-16.24.07:055][  0]LogWindows:Error: Windows GetLastError: Operacja ukończona pomyślnie. (0)
[2015.05.19-16.24.18:664][  0]LogWindows: === Critical error: ===
Assertion failed: IsValid() [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 647] 



KERNELBASE.dll!UnknownFunction (0x000007fefd48aaad) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() (0x000007feea8d8014) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor-Core.dll!FOutputDevice::Logf__VA() (0x000007feea757818) + 159 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\misc\outputdevice.cpp:144]
UE4Editor-Core.dll!FDebug::AssertFailed() (0x000007feea738b17) + 62 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\misc\outputdevice.cpp:224]
UE4Editor-Slate.dll!FSlateApplication::Get() (0x000007fee70fda9c) + 61 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\slate\public\framework\application\slateapplication.h:176]
UE4Editor-Engine.dll!UFont::GetMaxCharHeight() (0x000007fee7cbb3e2) + 6 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private**\font.cpp:288]**
UE4Editor-Engine.dll!UTextRenderComponent::CalcBounds() (0x000007fee821aa92) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private\textrendercomponent.cpp:786]
UE4Editor-Engine.dll!USceneComponent::UpdateBounds() (0x000007fee8034926) + 21 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private\scenecomponent.cpp:439]
UE4Editor-Engine.dll!USceneComponent::UpdateComponentToWorldWithParent() (0x000007fee80350c5) + 21 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private\scenecomponent.cpp:115]
UE4Editor-Engine.dll!UActorComponent::OnRegister() (0x000007fee7ad0b6f) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private\actorcomponent.cpp:541]
UE4Editor-Engine.dll!USceneComponent::OnRegister() (0x000007fee801acec) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private\scenecomponent.cpp:133]
UE4Editor-Engine.dll!UPrimitiveComponent::OnRegister() (0x000007fee7fc041e) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private\primitivecomponent.cpp:305]
UE4Editor-Engine.dll!UActorComponent::ExecuteRegisterEvents() (0x000007fee7aa1480) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private\actorcomponent.cpp:945]
UE4Editor-Engine.dll!UActorComponent::RegisterComponentWithWorld() (0x000007fee7ad9afe) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private\actorcomponent.cpp:749]
UE4Editor-Engine.dll!AActor::IncrementalRegisterComponents() (0x000007fee7ac7bec) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private\actor.cpp:3245]
UE4Editor-Engine.dll!ULevel::IncrementalUpdateComponents() (0x000007fee7e43293) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private\level.cpp:720]
UE4Editor-Engine.dll!UWorld::PreSaveRoot() (0x000007fee832efc0) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private\world.cpp:597]
UE4Editor-CoreUObject.dll!UPackage::SavePackage() (0x000007feea3e8045) + 16 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\savepackage.cpp:2528]
UE4Editor-UnrealEd.dll!UEditorEngine::SavePackage() (0x000007fee4f38411) + 115 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\editor\unrealed\private\editor.cpp:4416]
UE4Editor-UnrealEd.dll!UCookCommandlet::SaveCookedPackage() (0x000007fee548d64f) + 110 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:455]
UE4Editor-UnrealEd.dll!UCookCommandlet::Cook() (0x000007fee543fc69) + 62 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:1344]
UE4Editor-UnrealEd.dll!UCookCommandlet::Main() (0x000007fee5470648) + 5 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:578]
UE4Editor-Cmd.exe!FEngineLoop::PreInit() (0x000000013f96ba3a) + 96 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\launch\private\launchengineloop.cpp:1536]
UE4Editor-Cmd.exe!GuardedMain() (0x000000013f9621fb) + 15 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\launch\private\launch.cpp:110]
UE4Editor-Cmd.exe!GuardedMainWrapper() (0x000000013f9626ea) + 5 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor-Cmd.exe!WinMain() (0x000000013f972219) + 17 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor-Cmd.exe!__tmainCRTStartup() (0x000000013f972d05) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
kernel32.dll!UnknownFunction (0x00000000773759cd) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00000000775ab891) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00000000775ab891) + 0 bytes [UnknownFile:0]

I looked on my fonts assets and one of theme behaves weird - very small, don’t appear on text render actor. I deleted that actor, that font and other fonts which I don’t use in game and…it build with a success :slight_smile:

I hope that will help someone