Failed to find dependency index for WidgetBlueprintGeneratedClass

G’day,
I’ve been trying to package up my game for school but keep running into the error below. I need to resolve this fairly urgently if someone can steer me in the right direction. Many thanks Paul

UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.43:907][ 0]LogCook:Display: Cooking /Game/SideScrollerBP/Blueprints/SideScrollerGameMode → D:/mudgu/Documents/Unreal Projects/RunCookie2 4.14/Saved/Cooked/WindowsNoEditor/RunCookie2/Content/SideScrollerBP/Blueprints/SideScrollerGameMode.uasset
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:867][ 0]LogWindows:Error: begin: stack for UAT
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:877][ 0]LogWindows:Error: === Critical error: ===
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:887][ 0]LogWindows:Error:
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:898][ 0]LogWindows:Error: Assertion failed: !DependencyIndex.IsNull() [File:D:\Build++UE4+Release-4.14+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp] [Line: 4600]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:908][ 0]LogWindows:Error: Failed to find dependency index for WidgetBlueprintGeneratedClass /Game/SideScrollerBP/Blueprints/MainMenu.MainMenu_C (Function /Game/SideScrollerBP/Blueprints/SideScrollerGameMode.SideScrollerGameMode_C:ExecuteUbergraph_SideScrollerGameMode)
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:919][ 0]LogWindows:Error:
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:930][ 0]LogWindows:Error:
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:940][ 0]LogWindows:Error: KERNELBASE.dll
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:951][ 0]LogWindows:Error: UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:103]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:961][ 0]LogWindows:Error: UE4Editor-Core.dll!FOutputDevice::Logf__VA() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:68]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:972][ 0]LogWindows:Error: UE4Editor-Core.dll!FDebug::AssertFailed() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:332]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:982][ 0]LogWindows:Error: UE4Editor-CoreUObject.dll!UPackage::Save() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\coreuobject\private\uobject\savepackage.cpp:4600]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.46:993][ 0]LogWindows:Error: UE4Editor-UnrealEd.dll!UEditorEngine::Save() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\editorengine.cpp:3966]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:004][ 0]LogWindows:Error: UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackage() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\cookontheflyserver.cpp:2962]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:015][ 0]LogWindows:Error: UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::TickCookOnTheSide() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\cookontheflyserver.cpp:2166]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:025][ 0]LogWindows:Error: UE4Editor-UnrealEd.dll!UCookCommandlet::NewCook() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:1553]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:036][ 0]LogWindows:Error: UE4Editor-UnrealEd.dll!UCookCommandlet::Main() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:850]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:046][ 0]LogWindows:Error: UE4Editor-Cmd.exe!FEngineLoop::PreInit() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:1843]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:057][ 0]LogWindows:Error: UE4Editor-Cmd.exe!GuardedMain() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\launch.cpp:113]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:068][ 0]LogWindows:Error: UE4Editor-Cmd.exe!GuardedMainWrapper() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:078][ 0]LogWindows:Error: UE4Editor-Cmd.exe!WinMain() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:089][ 0]LogWindows:Error: UE4Editor-Cmd.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:100][ 0]LogWindows:Error: KERNEL32.DLL
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:111][ 0]LogWindows:Error: ntdll.dll
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:121][ 0]LogWindows:Error: ntdll.dll
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:132][ 0]LogWindows:Error:
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.28-04.45.47:143][ 0]LogWindows:Error: end: stack for UAT
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 39.7937766s to run UE4Editor-Cmd.exe, ExitCode=3
UATHelper: Packaging (Windows (64-bit)): Project.Cook: Cook failed. Deleting cooked data.
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. —> AutomationTool.AutomationException: BUILD FAILED: Failed while running Cook for D:\mudgu\Documents\Unreal Projects\RunCookie2 4.14\RunCookie2.uproject; see log C:\Users\mudgu\AppData\Roaming\Unreal Engi
ne\AutomationTool\Logs\D+Program+Files+(x86)+Epic+Games+4.14\Cook-2016.11.28-15.45.54.txt
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters)
UATHelper: Packaging (Windows (64-bit)): at Project.Cook(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)): — End of inner exception stack trace —
UATHelper: Packaging (Windows (64-bit)): at Project.Cook(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.MainProc(Object )
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object )
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.Main()
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Cook Failure

Hello mudgutz75,

After looking over the callstack I was able to determine that this is a known issue. I have provided a link to the original thread where the issue was reported. Please feel free to use the thread linked for future updates. As a note the thread mentioned also has a link to the public tracker. Please feel free to use that link for tracking the issue.

Link: Can't build project - Programming & Scripting - Epic Developer Community Forums

Make it a great day

Thanks Rudy, not sure where the link is though

Paul

I added the link to my original post.