Why appears at packaging this error: PackagingResults:Error: Error Unknown Error

I also uninstalled and installed the whole engine. Here is the whole outputlog:

MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.08.27-16.17.37:585][  0]LogSavePackage:Display: Finished SavePackage F:/Johann programmiert/BeispielProjekt 4.12/Saved/Cooked/WindowsNoEditor/Engine/Content/EngineMaterials/DefaultPhysicalMaterial.uasset
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.08.27-16.17.37:586][  0]LogCook:Display: Cooking /Engine/EngineFonts/RobotoTiny -> F:/Johann programmiert/BeispielProjekt 4.12/Saved/Cooked/WindowsNoEditor/Engine/Content/EngineFonts/RobotoTiny.uasset
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 59,3814255s to run UE4Editor-Cmd.exe, ExitCode=3
MainFrameActions: Packaging (Windows (64-bit)): Project.Cook: Cook failed. Deleting cooked data.
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: System.IO.IOException: The file or directory is corrupted and unreadable.
MainFrameActions: Packaging (Windows (64-bit)):    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
MainFrameActions: Packaging (Windows (64-bit)):    at System.IO.FileSystemEnumerableIterator`1.CommonInit()
MainFrameActions: Packaging (Windows (64-bit)):    at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
MainFrameActions: Packaging (Windows (64-bit)):    at System.IO.Directory.EnumerateFiles(String path)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RecursivelyDeleteDirectory(String Path, Boolean bQuiet)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RecursivelyDeleteDirectory(String Path, Boolean bQuiet)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RecursivelyDeleteDirectory(String Path, Boolean bQuiet)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RecursivelyDeleteDirectory(String Path, Boolean bQuiet)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.CommandUtils.DeleteDirectory(Boolean bQuiet, String[] Directories)
MainFrameActions: Packaging (Windows (64-bit)):    at Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.BuildCommand.Execute()
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.Main()
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit
MainFrameActions: Packaging (Windows (64-bit)): copying UAT log files...
MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

If you need the whole log, you can write it down.

See this part in your logfile:
System.IO.IOException: The file or directory is corrupted and unreadable

Something is wrong with a file in your project. You could try to migrate your level to a new project and see if you can package from there.
If the issue is with the EngineFont (not sure if its that, but it is the file right before the error), i would recommend going to the launcher and select “Verify” instead of “Launch” for the UE4 version you are using. If the error persists:

  • delete the intermediate and saved folders from your project
  • delete and reinstall the ue4 version you are using

hope that helps.

Cheers,

I did it and there was another error (i think, it was another error):

link text

Hello ,

From looking at your log file, I saw this error message:

UnrealBuildTool: ERROR: No modules found to build. All requested binaries were already part of the installed engine data.

This means that the editor is trying to compile something, such as a plugin, but doesn’t have a module to build as the project isn’t a code project. To fix this, you have two options. This first option is to add a blank code class, making this a code project and adding the necessary module. The second would be to remove the plugin that needs to be compiled from the project.

I wrote: thanks for your answer, . I already removed the plugin and there was another error, so i opened another one. So the other thread (Packaging Results Error: Error Unkown Error - Platform & Builds - Epic Developer Community Forums) wasn’t a duplicate, there was another error! (I told this to another staff, 5 hours ago)
Now: I did both and it worked! Thanks! You can close the thread. (I don’t know how to do it)

Even if you get another error, it’s best to keep the same line of support in the same question, this way we know what you’ve tried previously and what got you to this point. We also don’t track questions on a user-by-user basis so it’s possible that a different person would be helping on the new question, which is just causing unnecessary confusion.