UE4 4.10.1 PackagingResults:Error: Error Unknown Cook Failure

Ensure condition failed: Context.IsEventGraph() || !Context.EventGraphLocals.Num() [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.10\Engine\Source\Editor\KismetCompiler\Private\KismetCompiler.cpp] [Line: 756]

I’m trying to compile and is always giving this error.
Its someone help me please,

MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: [2016.04.09-22.36.45:276][ 0]LogOutputDevice:Error:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: begin: stack for UAT
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: [2016.04.09-22.36.45:276][ 0]LogOutputDevice:Warning: === Handled error: ===
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: Ensure condition failed: Context.IsEventGraph() || !Context.EventGraphLocals.Num() [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.10\Engine\Source\Editor\KismetCompiler\Private\KismetCompiler.cpp] [Line: 756]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: Stack:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-Core.dll!FWindowsPlatformStackWalk::StackWalkAndDump() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\windows\windowsplatformstackwalk.cpp:175]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-Core.dll!FDebug::EnsureFailed() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\misc\outputdevice.cpp:276]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-Core.dll!FDebug::OptionallyLogFormattedEnsureMessageReturningFalse() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\misc\outputdevice.cpp:385]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-KismetCompiler.dll!FKismetCompilerContext::CreateLocalVariablesForFunction() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\kismetcompiler\private\kismetcompiler.cpp:756]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-KismetCompiler.dll!FKismetCompilerContext::PrecompileFunction() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\kismetcompiler\private\kismetcompiler.cpp:1357]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-KismetCompiler.dll!FKismetCompilerContext::Compile() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\kismetcompiler\private\kismetcompiler.cpp:3195]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-KismetCompiler.dll!FKismet2CompilerModule::CompileBlueprintInner() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\kismetcompiler\private\kismetcompilermodule.cpp:99]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-KismetCompiler.dll!FKismet2CompilerModule::CompileBlueprint() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\kismetcompiler\private\kismetcompilermodule.cpp:173]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-UnrealEd.dll!FKismetEditorUtilities::CompileBlueprint() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\kismet2\kismet2.cpp:749]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-UnrealEd.dll!FBlueprintEditorUtils::RegenerateBlueprintClass() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\kismet2\blueprinteditorutils.cpp:1551]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-CoreUObject.dll!FLinkerLoad::RegenerateBlueprintClass() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\blueprint\blueprintsupport.cpp:311]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-CoreUObject.dll!FLinkerLoad::FinalizeBlueprint() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\blueprint\blueprintsupport.cpp:1153]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-CoreUObject.dll!FLinkerLoad::Preload() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3222]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-CoreUObject.dll!FLinkerLoad::CreateExport() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3824]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-CoreUObject.dll!FLinkerLoad::IndexToObject() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:4014]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-CoreUObject.dll!FLinkerLoad::CreateExport() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3537]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-CoreUObject.dll!FLinkerLoad::CreateExportAndPreload() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2693]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-CoreUObject.dll!FLinkerLoad::LoadAllObjects() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2801]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-CoreUObject.dll!LoadPackageInternal() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1033]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::TickCookOnTheSide() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\cookontheflyserver.cpp:1678]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-UnrealEd.dll!UCookCommandlet::NewCook() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:1214]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-UnrealEd.dll!UCookCommandlet::Main() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:557]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-Cmd.exe!FEngineLoop::PreInit() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\launchengineloop.cpp:1636]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-Cmd.exe!GuardedMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\launch.cpp:110]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-Cmd.exe!GuardedMainWrapper() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-Cmd.exe!WinMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: UE4Editor-Cmd.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: kernel32.dll
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: ntdll.dll
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: ntdll.dll
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: [2016.04.09-22.36.45:282][ 0]LogOutputDevice:Error:
MainFrameActions: Empacotamento (Windows (64 bits)): UE4Editor-Cmd: end: stack for UAT

Hello ,

When you say that you’re compiling, what do you mean exactly? Are you compiling from Visual Studio? If so, what build configuration / platform are you compiling for? Are you compiling from inside of the editor using the “Compile” button on the toolbar? Are you compiling as part of the packaging process?

We haven’t heard from you in a while, . Are you still experiencing this problem? If so, could you attempt to clarify on the points mentioned in my previous comment? In the meantime, I’ll be marking this issue as resolved for tracking purposes.