Engine Version: 4.4.1
When I launch my project via the editor targeting my Samsung Galaxy S4 (Launch>>GT_I9505) it deploys onto the device without issue.
However, when I try to package a distributable APK so I can pass the project around to other members of the team, the the project does not run and crashes on start-up (see package settings below).
I have attempted to install the APK by moving it directly onto the device. It installs fine, but crashes on start-up with this log:
[development-log][2]
Reading through it, I’m guessing it did not install correctly as it cannot find the cooked content (my “Map” in this case):
09-02 11:58:07.573: D/UE4(13255): [2014.09.02-10.58.07:583][ 0]LogLinker:Warning: Can't find file '/Temp/Autosaves/Game/UEDPCMap'
09-02 11:58:07.573: D/UE4(13255): [2014.09.02-10.58.07:584][ 0]LogLinker:Warning: Can't find file '/Temp/Autosaves/Game/UEDPCMap'
09-02 11:58:07.573: D/UE4(13255): [2014.09.02-10.58.07:584][ 0]LogUObjectGlobals:Warning: Failed to load '/Temp/Autosaves/Game/UEDPCMap': Can't find file '/Temp/Autosaves/Game/UEDPCMap'
09-02 11:58:07.573: D/UE4(13255): [2014.09.02-10.58.07:585][ 0]LogUObjectGlobals:Warning: Failed to load '/Temp/Autosaves/Game/UEDPCMap': Can't find file '/Temp/Autosaves/Game/UEDPCMap'
09-02 11:58:07.573: D/UE4(13255): Cannot display dialog box on this platform: Message : The map specified on the commandline '/Temp/Autosaves/Game/UEDPCMap' could not be found. Would you like to load the default map instead?
09-02 11:58:07.573: D/UE4(13255): [2014.09.02-10.58.07:586][ 0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(0)
09-02 11:58:07.573: D/UE4(13255): [2014.09.02-10.58.07:586][ 0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(0)
So I decide to install it via the Batch file that the packager creates. This installs fine, but now I get a different error in the log this time which states it doesn’t like UMG Widget stuff that I am using for my interface:
LogLinker:Warning: Can't find file '/Script/UMGEditor'
09-02 12:15:51.601: D/UE4(17106): [2014.09.02-11.15.51:615][ 0]LogLinker:Warning: Can't find file '/Script/UMGEditor'
09-02 12:15:51.601: D/UE4(17106): [2014.09.02-11.15.51:616][ 0]LoadErrors: Info Failed to load /Game/RITA/Blueprint/MyHUD.MyHUD_C Referenced by MyUI_C Property /Script/Engine.GameMode:HUDClass
09-02 12:15:51.601: D/UE4(17106): [2014.09.02-11.15.51:616][ 0]LoadErrors: Info Failed to load /Game/RITA/Blueprint/MyHUD.MyHUD_C Referenced by MyUI_C Property /Script/Engine.GameMode:HUDClass
09-02 12:15:51.601: D/UE4(17106): [2014.09.02-11.15.51:617][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/UMGEditor': Can't find file '/Script/UMGEditor'
09-02 12:15:51.601: D/UE4(17106): [2014.09.02-11.15.51:617][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/UMGEditor': Can't find file '/Script/UMGEditor'
09-02 12:15:51.601: D/UE4(17106): [2014.09.02-11.15.51:618][ 0]LogLinker:Warning: Can't find file for asset '/Script/UMGEditor' while loading NULL.
09-02 12:15:51.601: D/UE4(17106): [2014.09.02-11.15.51:618][ 0]LogLinker:Warning: Can't find file for asset '/Script/UMGEditor' while loading NULL.
09-02 12:15:51.611: D/UE4(17106): [2014.09.02-11.15.51:619][ 0]LoadErrors: Info Failed to load /Game/RITA/Blueprint/MyHUD.MyHUD_C Referenced by MyUI_C Property /Script/Engine.GameMode:HUDClass
09-02 12:15:51.611: D/UE4(17106): [2014.09.02-11.15.51:620][ 0]LoadErrors: Info Failed to load /Game/RITA/Blueprint/MyHUD.MyHUD_C Referenced by MyUI_C Property /Script/Engine.GameMode:HUDClass
09-02 12:15:51.611: D/UE4(17106): [2014.09.02-11.15.51:620][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/UMGEditor': Can't find file for asset '/Script/UMGEditor' while loading NULL.
09-02 12:15:51.611: D/UE4(17106): [2014.09.02-11.15.51:621][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/UMGEditor': Can't find file for asset '/Script/UMGEditor' while loading NULL.
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:792][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'WidgetTree_1': WidgetBlueprint /Game/RITA/Blueprint/MyUI.MyUI
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:792][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'WidgetTree_1': WidgetBlueprint /Game/RITA/Blueprint/MyUI.MyUI
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:792][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'Button_120': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:792][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'Button_120': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:792][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'ConnectButton': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:792][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'ConnectButton': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:792][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'DisconnectButton': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:792][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'DisconnectButton': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:793][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'ButtonSlot_58': Button /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.Button_120
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:793][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'ButtonSlot_58': Button /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.Button_120
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:793][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'ButtonSlot_83': Button /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.ConnectButton
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:793][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'ButtonSlot_83': Button /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.ConnectButton
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:794][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'ButtonSlot_83': Button /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.DisconnectButton
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:794][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'ButtonSlot_83': Button /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.DisconnectButton
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:794][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanel_0': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:794][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanel_0': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:795][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_1049': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:795][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_1049': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:795][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_1233': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:795][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_1233': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:796][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_1408': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:796][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_1408': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:796][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_344': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:796][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_344': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:797][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_405': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:797][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_405': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:797][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_593': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:797][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_593': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:798][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_666': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.782: D/UE4(17106): [2014.09.02-11.15.51:798][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'CanvasPanelSlot_666': CanvasPanel /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1.CanvasPanel_0
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:799][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'IPText': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:799][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'IPText': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:799][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'PortText': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:800][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'PortText': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:800][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'DefaultAnimationData_0': WidgetBlueprint /Game/RITA/Blueprint/MyUI.MyUI
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:800][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'DefaultAnimationData_0': WidgetBlueprint /Game/RITA/Blueprint/MyUI.MyUI
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:801][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'TextBlock_127': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:801][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'TextBlock_127': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:801][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'TextBlock_156': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:801][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'TextBlock_156': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:802][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'TextBlock_277': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:802][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'TextBlock_277': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:802][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'TextBlock_288': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:802][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'TextBlock_288': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:803][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'TextBlock_84': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:51.792: D/UE4(17106): [2014.09.02-11.15.51:803][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'TextBlock_84': WidgetTree /Game/RITA/Blueprint/MyUI.MyUI:WidgetTree_1
09-02 12:15:56.666: D/UE4(17106): D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.4\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp(51): Fatal error:
09-02 12:15:56.666: D/UE4(17106): Ran out of memory allocating 176128 bytes with alignment 0
09-02 12:15:56.666: D/UE4(17106): [2014.09.02-11.15.56:670][ 0]LogMemory:Fatal: Ran out of memory allocating 176128 bytes with alignment 0
09-02 12:15:56.666: D/UE4(17106): [2014.09.02-11.15.56:671][ 0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(1)
So I decide to remove my UI completely (removing the widget and and any references to it). I package the APK again and this time it is working (moving the APK directly onto the device and running it to install is working also, I do not need to run the Batch file).
So I am wondering why UMG Widgets are causing the crash issue, especially when I can “Launch” from editor just fine with my widgets. My widgets only contain buttons, text and text fields (which work as intended when I touch them on the screen).
The interface for this project is quite important, and I cannot understand why they would work when I “Launch from the editor” but not work when I “package an APK.”