Can’t package my game due to this error. I found it at other questions, but checking for Read-only files didn’t work. Cook content for Windows works. I even deleted the WindowsNoEditor folder before trying to package again.
UATHelper: Packaging (Windows (64-bit)): Project.Package: ********** PACKAGE COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: System.Exception: Couldn't update resource
UATHelper: Packaging (Windows (64-bit)): a következő helyen: ModuleResourceUpdate.SetData(Int32 ResourceId, ResourceType Type, Byte[] Data)
UATHelper: Packaging (Windows (64-bit)): a következő helyen: ModuleResourceUpdate.SetIcons(Int32 ResourceId, GroupIconResource GroupIcon)
UATHelper: Packaging (Windows (64-bit)): a következő helyen: UnrealBuildTool.BaseWindowsDeploy.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
UATHelper: Packaging (Windows (64-bit)): a következő helyen: BaseWinPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL)
UATHelper: Packaging (Windows (64-bit)): a következő helyen: Project.Package(ProjectParams Params, Int32 WorkingCL)
UATHelper: Packaging (Windows (64-bit)): a következő helyen: BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)): a következő helyen: AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (64-bit)): a következő helyen: AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Windows (64-bit)): a következő helyen: AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Windows (64-bit)): a következő helyen: AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Windows (64-bit)): a következő helyen: AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Windows (64-bit)): a következő helyen: AutomationTool.Program.Main()
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
Any ideas what could stop the AutomationTool from working?
LogPlayLevel: Project.RunInternal: Starting Client....
LogPlayLevel: CommandUtils.Run: Run: E:\Unreal\CardNetGame\Saved\StagedBuilds\WindowsNoEditor\CardNetGame\Binaries\Win64\CardNetGame.exe ../../../CardNetGame/CardNetGame.uproject /Game/Maps/MainMenu -stdout -abslog="C:\Users\CrimsonHawk\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+4.14\Client.log" -Messaging -nomcp -Windowed -CrashForUAT -S
essionId=14E307BD4826C0105D7BB1870303A756 -SessionOwner="CrimsonHawk" -SessionName="Launch On Device"
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.ComponentModel.Win32Exception (0x80004005): A fájl vagy a könyvtár sérült vagy nem olvasható
LogPlayLevel: a következő helyen: System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
LogPlayLevel: a következő helyen: AutomationTool.CommandUtils.Run(String App, String CommandLine, String Input, ERunOptions Options, Dictionary`2 Env, SpewFilterCallbackType SpewFilterCallback)
LogPlayLevel: a következő helyen: AutomationTool.Platform.RunClient(ERunOptions ClientRunFlags, String ClientApp, String ClientCmdLine, ProjectParams Params)
LogPlayLevel: a következő helyen: Project.RunStandaloneClient(List`1 DeployContextList, String ClientLogFile, ERunOptions ClientRunFlags, String ClientApp, String ClientCmdLine, ProjectParams Params)
LogPlayLevel: a következő helyen: Project.RunInternal(ProjectParams Params, String ServerLogFile, String ClientLogFile)
LogPlayLevel: a következő helyen: Project.Run(ProjectParams Params)
LogPlayLevel: a következő helyen: BuildCookRun.DoBuildCookRun(ProjectParams Params)
LogPlayLevel: a következő helyen: AutomationTool.BuildCommand.Execute()
LogPlayLevel: a következő helyen: AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
Some more symptoms: “Zip up project” works, even though it makes the .zip into the same folder as the WindowsNoEditor should be. Unzipping the project to another driver and trying to Package the game there, suprisingly works.
I had the same issue today. Your solutiun works but there is a faster way. When you zip up project from editor, it wont zip intermediate and some other folders. So you can just delete your intermediate folder to solve this issue.(after you make a backup of that folder)