Cooking for windows failed! "UnknownFunction"

Here is my cook log.

Also, I have just discovered that when I attempt to launch the game from the editor, I the player controller does not respond to any input.

It works fine when playing in the editor window though… I’m completely puzzled :?

Log file open, 05/17/15 04:57:09
LogInit:Display: Running engine for game: InventoryUIwithUMG
LogInit: Version: 4.7.6-2513093+++depot+UE4-Releases+4.7
LogInit: API Version: 2455222
LogInit: Compiled (64-bit): Apr 15 2015 12:09:54
LogInit: Compiled with Visual C++: 18.00.21005.01
LogInit: Build Configuration: Development
LogInit: Branch Name: ++depot+UE4-Releases+4.7
LogInit: Command line: "C:\Users\\Documents\Unreal Projects\InventoryUIwithUMG\InventoryUIwithUMG.uproject" -run=Cook -MapIniSection=AllMaps  -I18NPreset=  -TargetPlatform=WindowsNoEditor -buildmachine -Unversioned -fileopenlog -abslog="C:\Users\\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+4.7\Cook.txt" -stdout -FORCELOGFLUSH -CrashForUAT -unattended -AllowStdOutLogVerbosity 
LogInit: Base directory: C:/Program Files/Epic Games/4.7/Engine/Binaries/Win64/
LogInit: Rocket: 1
[2015.05.17-01.57.09:549][  0]LogTaskGraph: Started task graph with 3 named threads and 4 total threads.
[2015.05.17-01.57.09:588][  0]LogOnline:Warning: No default platform service specified for OnlineSubsystem
[2015.05.17-01.57.09:606][  0]LogInit: Presizing for 0 objects not considered by GC, pre-allocating 0 bytes.
[2015.05.17-01.57.09:622][  0]LogInit: Object subsystem initialized
[2015.05.17-01.57.09:624][  0]LogConsoleResponse:Warning: Skipping Unknown console variable: 'TranslucentSortAxis = (X=0.000000,Y=-1.000000,Z=0.000000)'
[2015.05.17-01.57.09:624][  0]LogConsoleResponse:Warning:   Found in ini file 'C:/Users//Documents/Unreal Projects/InventoryUIwithUMG/Saved/Config/Windows/Engine.ini', in section '[/Script/Engine.RendererSettings]'
[2015.05.17-01.57.09:624][  0]LogConsoleResponse:Warning: Skipping Unknown console variable: 'UIScaleRule = ShortestSide'
[2015.05.17-01.57.09:624][  0]LogConsoleResponse:Warning:   Found in ini file 'C:/Users//Documents/Unreal Projects/InventoryUIwithUMG/Saved/Config/Windows/Engine.ini', in section '[/Script/Engine.RendererSettings]'
[2015.05.17-01.57.09:624][  0]LogConsoleResponse:Warning: Skipping Unknown console variable: 'UIScaleCurve = (EditorCurveData=(Keys=),ExternalCurve=None)'
[2015.05.17-01.57.09:624][  0]LogConsoleResponse:Warning:   Found in ini file 'C:/Users//Documents/Unreal Projects/InventoryUIwithUMG/Saved/Config/Windows/Engine.ini', in section '[/Script/Engine.RendererSettings]'
[2015.05.17-01.57.09:625][  0]LogInit: Selected Device Profile: [Windows]
[2015.05.17-01.57.09:625][  0]LogInit: Applying CVar settings loaded from the selected device profile: [Windows]
[2015.05.17-01.57.09:632][  0]LogInit: Computer: PCNAME
[2015.05.17-01.57.09:632][  0]LogInit: User: 
[2015.05.17-01.57.09:632][  0]LogInit: CPU Page size=4096, Cores=2
[2015.05.17-01.57.09:632][  0]LogInit: High frequency timer resolution =3.613279 MHz
[2015.05.17-01.57.09:632][  0]LogMemory: Memory total: Physical=15.9GB (16GB approx) Virtual=8192.0GB
[2015.05.17-01.57.09:632][  0]LogMemory: Platform Memory Stats for Windows
[2015.05.17-01.57.09:632][  0]LogMemory: Process Physical Memory: 46.63 MB used, 46.63 MB peak
[2015.05.17-01.57.09:632][  0]LogMemory: Process Virtual Memory: 22.38 MB used, 22.38 MB peak
[2015.05.17-01.57.09:632][  0]LogMemory: Physical Memory: 6825.01 MB used, 16308.34 MB total
[2015.05.17-01.57.09:632][  0]LogMemory: Virtual Memory: 282.03 MB used, 8388608.00 MB total
[2015.05.17-01.57.09:747][  0]LogTextLocalizationManager: The requested culture ('en_US') has no localization data; parent culture's ('en') localization data will be used.
[2015.05.17-01.57.09:824][  0]LogTextLocalizationManager:Warning: Loading localization resources contain conflicting entries for (Namespace:UICommands, Key:Save_ToolTip):
Resource: (C:/Program Files/Epic Games/4.7/Engine/Content/Localization/Editor/en/Editor.locres) Hash: (-29098895) String: (Saves the current level to disk)
Resource: (C:/Program Files/Epic Games/4.7/Engine/Content/Localization/Engine/en/Engine.locres) Hash: (-1280300587) String: (Save selected data to vlog file)
[2015.05.17-01.57.09:824][  0]LogTextLocalizationManager:Warning: Loading localization resources contain conflicting entries for (Namespace:ContentBrowser, Key:ImportAssetToolTip):
Resource: (C:/Program Files/Epic Games/4.7/Engine/Content/Localization/Editor/en/Editor.locres) Hash: (-630476809) String: (Import to {0}...)
Resource: (C:/Program Files/Epic Games/4.7/Engine/Content/Localization/Editor/en/Editor.locres) Hash: (1271782899) String: (Imports an asset from file to this folder.)
[2015.05.17-01.57.12:887][  0]LogTargetPlatformManager:Display: Building Assets For WindowsNoEditor
[2015.05.17-01.57.13:740][  0]LogTargetPlatformManager:Display: Building Assets For WindowsNoEditor
[2015.05.17-01.57.13:828][  0]LogDerivedDataCache:Display: Max Cache Size: 512 MB
[2015.05.17-01.57.13:859][  0]LogDerivedDataCache: Loaded boot cache 0.03s 44MB C:/Users//AppData/Local/UnrealEngine/4.7/DerivedDataCache/Boot.ddc.
[2015.05.17-01.57.13:859][  0]LogDerivedDataCache:Display: Loaded Boot cache: C:/Users//AppData/Local/UnrealEngine/4.7/DerivedDataCache/Boot.ddc
[2015.05.17-01.57.13:860][  0]LogDerivedDataCache: FDerivedDataBackendGraph:  Pak pak cache file ../../../../../../Users//Documents/Unreal Projects/InventoryUIwithUMG/DerivedDataCache/DDC.ddp not found, will not use a pak cache.
[2015.05.17-01.57.13:860][  0]LogDerivedDataCache: Unable to find inner node Pak for hierarchical cache Hierarchy.
[2015.05.17-01.57.14:022][  0]LogDerivedDataCache:Display: Pak cache opened for reading ../../../Engine/DerivedDataCache/Compressed.ddp.
[2015.05.17-01.57.14:035][  0]LogDerivedDataCache: Using Local data cache path C:/Users//AppData/Local/UnrealEngine/Common/DerivedDataCache: Writable
[2015.05.17-01.57.14:559][  0]LogMeshUtilities: No automatic mesh reduction module available
[2015.05.17-01.57.14:559][  0]LogMeshUtilities: No automatic mesh merging module available
[2015.05.17-01.57.14:765][  0]LogInit: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
[2015.05.17-01.57.14:877][  0]LogSlate:Warning: Failed to load font data from '../../../Engine/Content/Slate/Fonts/Roboto-Italic.ttf'
[2015.05.17-01.57.15:436][  0]SourceControl: Info Source control is disabled
[2015.05.17-01.57.15:436][  0]SourceControl: Info Source control is disabled
[2015.05.17-01.57.15:436][  0]SourceControl: Info Source control is disabled
[2015.05.17-01.57.15:436][  0]LogSourceControl: RunCommandInternalRaw: 'git version'
[2015.05.17-01.57.15:436][  0]LogSourceControl: RunCommandInternalRaw: ExecProcess ReturnCode=2 OutResults=''
[2015.05.17-01.57.15:452][  0]SourceControl: Info Source control is disabled
[2015.05.17-01.57.15:689][  0]LogObj: 23754 objects as part of root set at end of initial load.
[2015.05.17-01.57.15:689][  0]LogUObjectAllocator: 4910640 out of 0 bytes used by permanent object pool.
[2015.05.17-01.57.15:689][  0]LogInit: Executing Class /Script/UnrealEd.CookCommandlet
[2015.05.17-01.57.15:689][  0]LogInit: Initializing Editor Engine...
[2015.05.17-01.57.15:690][  0]LogEngine: Initializing Engine...
[2015.05.17-01.57.15:780][  0]LogAIModule: Creating AISystem for world NewWorld
[2015.05.17-01.57.15:790][  0]LogDerivedDataCache: Saved boot cache 0.01s 12MB C:/Users//AppData/Local/UnrealEngine/4.7/DerivedDataCache/Boot.ddc.
[2015.05.17-01.57.15:792][  0]LogInit: Texture streaming: Disabled
[2015.05.17-01.57.15:809][  0]LogInit: Initializing Editor Engine Completed
[2015.05.17-01.57.15:838][  0]LogCookCommandlet:Display: Sandbox cleanup took 0.000 seconds
[2015.05.17-01.57.15:858][  0]LogAssetRegistry: FAssetRegistry took 0.0000 seconds to start up
[2015.05.17-01.57.15:858][  0]LogCookCommandlet:Display: Populating asset registry.
[2015.05.17-01.57.15:859][  0]LogWindows:Error: Windows GetLastError: The operation completed successfully. (0)
[2015.05.17-01.57.18:952][  0]LogWindows: === Critical error: ===
Assertion failed: InPos<=Bytes.Num() [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Runtime\Core\Public\Serialization\Archive.h] [Line: 171] 



KERNELBASE.dll!UnknownFunction (0x000007fd856d89cc) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() (0x000007fd653d8074) + 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() (0x000007fd65257878) + 159 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\misc\outputdevice.cpp:144]
UE4Editor-Core.dll!FDebug::AssertFailed() (0x000007fd65238b17) + 62 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\misc\outputdevice.cpp:224]
UE4Editor-AssetRegistry.dll!FMemoryReader::Seek() (0x000007fd555f5eee) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\public\serialization\archive.h:172]
UE4Editor-AssetRegistry.dll!FNameTableArchiveReader::SerializeNameMap() (0x000007fd555f6a35) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\assetregistry\private\nametablearchive.cpp:45]
UE4Editor-AssetRegistry.dll!FNameTableArchiveReader::LoadFile() (0x000007fd555e821c) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\assetregistry\private\nametablearchive.cpp:26]
UE4Editor-AssetRegistry.dll!FAssetDataGatherer::Run() (0x000007fd555f360c) + 37 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\assetregistry\private\assetdatagatherer.cpp:79]
UE4Editor-AssetRegistry.dll!FAssetDataGatherer::FAssetDataGatherer() (0x000007fd555bd870) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\assetregistry\private\assetdatagatherer.cpp:34]
UE4Editor-AssetRegistry.dll!FAssetRegistry::ScanPathsSynchronous_Internal() (0x000007fd555f59af) + 23 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\assetregistry\private\assetregistry.cpp:1354]
UE4Editor-AssetRegistry.dll!FAssetRegistry::SearchAllAssets() (0x000007fd555f5d3c) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\assetregistry\private\assetregistry.cpp:234]
UE4Editor-UnrealEd.dll!UCookCommandlet::GenerateAssetRegistry() (0x000007fd5d5ecba4) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:699]
UE4Editor-UnrealEd.dll!UCookCommandlet::Main() (0x000007fd5d6006f8) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:572]
UE4Editor-Cmd.exe!FEngineLoop::PreInit() (0x000007f77a2cba3a) + 96 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\launch\private\launchengineloop.cpp:1536]
UE4Editor-Cmd.exe!GuardedMain() (0x000007f77a2c21fb) + 15 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\launch\private\launch.cpp:110]
UE4Editor-Cmd.exe!GuardedMainWrapper() (0x000007f77a2c26ea) + 5 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor-Cmd.exe!WinMain() (0x000007f77a2d2219) + 17 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor-Cmd.exe!__tmainCRTStartup() (0x000007f77a2d2d05) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
KERNEL32.DLL!UnknownFunction (0x000007fd86c1167e) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x000007fd8847c3f1) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x000007fd8847c3f1) + 0 bytes [UnknownFile:0]


[2015.05.17-01.57.18:952][  0]LogExit: Executing StaticShutdownAfterError
[2015.05.17-01.57.18:954][  0]LogWindows: FPlatformMisc::RequestExit(1)
[2015.05.17-01.57.18:954][  0]Log file closed, 05/17/15 04:57:18

UPDATE:

For some reason it is working today. Last night I left it building lighting. When I began today the performance is suddenly unbelievable. Discovered that dynamic shadows is the cause. Not sure why its suddenly giving me this problem. (actually may have solved it now as I’m writing this…)

But now I can cook / build successfully! I can also launch from the editor and it works as expected (except for new performance issue).

However, when I attempt to run the packaged version, I get “this program is used for packaged games and is not meant to be run directly”

Tried building again after some more playing around and it works. I don’t know why it works, but my thanks goes to the little gremlins that live inside UE4 for sorting it out!

Can you tell what you play’d around with?

I can’t remember exactly. I believe I was turning off some stuff in rendering, probably related to shadows and/or instanced meshes.