Build error Error: System.Exception: Couldn't update resource

[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): ERROR: System.Exception: Couldn’t update resource
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): at ModuleResourceUpdate.SetData(Int32 ResourceId, ResourceType Type, Byte[] Data) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Win\WinResources.cs:line 259
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): at ModuleResourceUpdate.SetIcons(Int32 ResourceId, GroupIconResource GroupIcon) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Win\WinResources.cs:line 266
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): at Win64Platform.StageBootstrapExecutable(DeploymentContext SC, String ExeName, FileReference TargetFile, StagedFileReference StagedRelativeTargetPath, String StagedArguments) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Win\WinPlatform.Automation.cs:line 210
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): at Win64Platform.GetFilesToDeployOrStage(ProjectParams Params, DeploymentContext SC) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Win\WinPlatform.Automation.cs:line 151
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): at AutomationScripts.Project.CreateStagingManifest(ProjectParams Params, DeploymentContext SC) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 943
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): at AutomationScripts.Project.CopyBuildToStagingDirectory(ProjectParams Params) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 4636
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 222
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): at BuildCookRun.ExecuteBuild() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 42
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): at AutomationTool.BuildCommand.Execute() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 344
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): at AutomationTool.BuildCommand.ExecuteAsync() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 353
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): at AutomationTool.Automation.ExecuteAsync(List1 CommandsToExecute, Dictionary2 Commands) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 257
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 156
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): (see C:\Users\Kiril\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\Log.txt for full exception trace)
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 14s
[2023.03.29-23.26.13:902][193]UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=1 (Error_Unknown)
[2023.03.29-23.26.13:912][193]PackagingResults: Error: System.Exception: Couldn’t update resource
[2023.03.29-23.26.13:923][194]UATHelper: Packaging (Windows): BUILD FAILED
[2023.03.29-23.26.13:951][195]PackagingResults: Error: Unknown Error

What do you think?

probably you don’t have all the visual studio SDKs downloaded. You need several packages. Try searching youtube or google for all the SDKs unreal needs then downlaod them from visual studio

I have installed everything I see here Unreal Engine 5.1 Release Notes | Unreal Engine 5.1 Documentation
Same error.

try adding the windows 11 sdk also

It was installed.
I have changed the folder (way without cyrillic alphabet) and it works.

Hello @Z_Kir,
I believe I have almost the same error. Please let me know where did you change the path from Kirilic to Latin?