Launching and Packaging Failed for all platforms!

Every time I want to launch the project for windows or android it failed:

LogPlayLevel:Display: UE4Editor-Cmd:
LogPlayLevel:Display: UE4Editor-Cmd:
LogPlayLevel:Display: UE4Editor-Cmd: end: stack for UAT
LogPlayLevel:Display: CommandUtils.Run: Run: Took 31.1997845s to run UE4Editor-Cmd.exe
LogPlayLevel:Display: Project.Cook: Cook failed. Deleting cooked data.
LogPlayLevel:Display: BuildCommand.Execute: ERROR: BUILD FAILED
LogPlayLevel:Display: Program.Main: ERROR: AutomationTool terminated with exception:
LogPlayLevel:Display: Program.Main: ERROR: Exception in AutomationScripts.Automation: BUILD FAILED: Failed while running Cook for E:\UE4\Templates\TappyChicken\TappyChicken.uproject; see log E:\UE4\Engine\Programs\AutomationTool\Saved\Logs\Cook.txt
LogPlayLevel:Display: Stacktrace: at Project.Cook(ProjectParams Params) in e:\UE4\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 97
LogPlayLevel:Display: at BuildCookRun.DoBuildCookRun(ProjectParams Params) in e:\UE4\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 236
LogPlayLevel:Display: at BuildCommand.Execute() in e:\UE4\Engine\Source\Programs\AutomationTool\BuildCommand.cs:line 37
LogPlayLevel:Display: at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands) in e:\UE4\Engine\Source\Programs\AutomationTool\Automation.cs:line 357
LogPlayLevel:Display: at AutomationTool.Automation.Process(String[] CommandLine) in e:\UE4\Engine\Source\Programs\AutomationTool\Automation.cs:line 325
LogPlayLevel:Display: at AutomationTool.Program.MainProc(Object Param) in e:\UE4\Engine\Source\Programs\AutomationTool\Program.cs:line 88
LogPlayLevel:Display: at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) in e:\UE4\Engine\Source\Programs\AutomationTool\Utils.cs:line 568
LogPlayLevel:Display: at AutomationTool.Program.Main() in e:\UE4\Engine\Source\Programs\AutomationTool\Program.cs:line 48
LogPlayLevel:Display: Program.Main: ERROR: BUILD FAILED: Failed while running Cook for E:\UE4\Templates\TappyChicken\TappyChicken.uproject; see log E:\UE4\Engine\Programs\AutomationTool\Saved\Logs\Cook.txt
LogPlayLevel:Display: copying UAT log files…
LogPlayLevel:Display: RunUAT.bat ERROR: AutomationTool was unable to run successfully.
LogPlayLevel:Display: BUILD FAILED

I attached the log file too.
link text

It looks like it can’t find a path to specific .dll files in your system32, so it’s having an issue using your OS.

You can try installing the Visual C++ Redistributable and see if that fixes it (LINK: http://www.microsoft.com/en-us/download/details.aspx?id=30679)

If not, then you’d need to manually fix the errors, I’ll link downloads to the two files you’ll need to download and place in C:\Windows\SYSTEM32\

Kernall32.dll:

And Ntdll.dll:
http://download.dll-files.com/cf95b85ff8d128385abd411c8ca74ded/ntdll.zip?0WLiPEZKhS

(I checked the links, they’re solid from my perspective and virus free, but still do at your own risk)

DO NOT DO THIS. I would never, ever, ever, ever, ever , ever replace system files. Since those two files are core windows files I can guarantee that they exist otherwise your computer would not boot.

DLL files exist in system 32 folder and VC++ Redist is installed so It couldn’t solve the issue. I’m going to try the pre built version of unreal

Missing System32 DLLs is not the problem. The system32 related messages in the log file merely indicate that the symbols for the callstack into the operating system functions could not be resolved, which is expected unless you have Windows debug symbols installed (most users don’t).

The actual error is this: Tried to get module interface for unloaded module: ‘LevelEditor’

Sam,

The problem is that the cooker attempts to load the SmartSnapping plug-in, which expects the LevelEditor to be loaded. Obviously, the cooker shouldn’t require the level editor, so something is going horribly wrong there.

Could you please post the exact steps you’re taking? I wasn’t able to repro it on my machine - cooking for Windows, packaging for various platforms and launching all worked. Please include all steps, beginning with starting the Editor. Thanks!

My steps: I built engine in developer editor x64 (also I changed to developers only then) successfully. Then starting the editor and click to launch on pc (any Unreal sample project)… cooking and above errors! that’s all!
My System: Windows 7 Ultimate X64, VS 2013 for compiling

Hi Sam,
Are you using Source(Github) or Binary(Launcher) to launch the editor?

@anonymous_user_e67bfdbb

We haven’t heard back from you on this issue. I’m marking this answer as resolved for now for tracking purposes. If this is issue still occurring for you, let us know!

-Max B.