PackagingResults:Error: Error Unknown Error

so, I deleted all the files I belived that were causing errors. as in the output log, it said those files were errors.
I deleted those and it still causes errors. I published my game to gamejolt once, and it was fine, recently, by that I mean the day after, which I made a few more stages.
now the errors won’t stop annoying me. and I even copied my project on to my memory stick, and in the main version of it I deleted the save, config and intermediate folders, that didn’t fix anything, and all it did was destroy movement.
so I restarted my computer 3x and ran the one on my memory stick. still errors bug me. THERE ARN’T EVEN ANY ERRORS ON MY GAME!

here’s the output log. (error part)
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: Execution of commandlet took: 279.47 seconds
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.06.02-12.10.12:294][ 0]LogOnline:Display: Unloading online subsystem: NULL
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 442.7642198s to run UE4Editor-Cmd.exe, ExitCode=0
UATHelper: Packaging (Windows (64-bit)): Project.Cook: ********** COOK COMMAND COMPLETED **********
UATHelper: Packaging (Windows (64-bit)): Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): Project.CreateStagingManifest: Creating Staging Manifest…
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: System.IO.InvalidDataException: Found invalid data while decoding.
UATHelper: Packaging (Windows (64-bit)): at GroupIconResource.ReadIconHeader(BinaryReader Reader)
UATHelper: Packaging (Windows (64-bit)): at GroupIconResource.FromIco(String FileName)
UATHelper: Packaging (Windows (64-bit)): at BaseWinPlatform.StageBootstrapExecutable(DeploymentContext SC, String ExeName, String TargetFile, String StagedRelativeTargetPath, String StagedArguments)
UATHelper: Packaging (Windows (64-bit)): at BaseWinPlatform.GetFilesToDeployOrStage(ProjectParams Params, DeploymentContext SC)
UATHelper: Packaging (Windows (64-bit)): at Win64Platform.GetFilesToDeployOrStage(ProjectParams Params, DeploymentContext SC)
UATHelper: Packaging (Windows (64-bit)): at Project.CreateStagingManifest(ProjectParams Params, DeploymentContext SC)
UATHelper: Packaging (Windows (64-bit)): at Project.CopyBuildToStagingDirectory(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)): at BuildCookRun.ExecuteBuild()
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 Param)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.Main()
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

I don’t know what to do anymore… does anyone know how to fix this?


I had the same issue. If you open your project directory and delete your project image, it will work. Apparently UE4 has a problem with some images i.d.k.

This should work