Hi everyone, I get an error "System.Exception: Couldn't update resource" when I want to package the project

Hi, when I try to package my project I get this error:

UATHelper: Packaging (Windows): ERROR: System.Exception: Couldn’t update resource

I am the administrator on windows and also tried to package while opening unreal as an administrator. Does anybody have a clue what could be the issue, I already spent hours trying to figure it out.

But I am not sure anymore what should I do.

Here is info from the Output Log.

UATHelper: Packaging (Windows): ********** STAGE COMMAND STARTED **********
UATHelper: Packaging (Windows): Creating Staging Manifest…
UATHelper: Packaging (Windows): ERROR: System.Exception: Couldn’t update resource
UATHelper: Packaging (Windows): at ModuleResourceUpdate.SetData(Int32 ResourceId, ResourceType Type, Byte[] Data) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Win\WinResources.cs:line 259
UATHelper: Packaging (Windows): at ModuleResourceUpdate.SetIcons(Int32 ResourceId, GroupIconResource GroupIcon) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Win\WinResources.cs:line 266
UATHelper: Packaging (Windows): at Win64Platform.StageBootstrapExecutable(DeploymentContext SC, String ExeName, FileReference TargetFile, StagedFileReference StagedRelativeTargetPath, String StagedArguments) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Win\WinPlatform.Automation.cs:line 362
UATHelper: Packaging (Windows): at Win64Platform.GetFilesToDeployOrStage(ProjectParams Params, DeploymentContext SC) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Win\WinPlatform.Automation.cs:line 303
UATHelper: Packaging (Windows): at AutomationScripts.Project.CreateStagingManifest(ProjectParams Params, DeploymentContext SC) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 830
UATHelper: Packaging (Windows): at AutomationScripts.Project.CopyBuildToStagingDirectory(ProjectParams Params) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 4576
UATHelper: Packaging (Windows): at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 206
UATHelper: Packaging (Windows): at BuildCookRun.ExecuteBuild() in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 40
UATHelper: Packaging (Windows): at AutomationTool.BuildCommand.Execute() in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 343
UATHelper: Packaging (Windows): at AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary2 Commands) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 253
UATHelper: Packaging (Windows): at AutomationTool.Automation.Process(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 153
UATHelper: Packaging (Windows): (see C:\Users\Haris\AppData\Roaming\Unreal Engine\AutomationTool\Logs\B+Unreal+UE_5.0+UE_5.0\Log.txt for full exception trace)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 47s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

If there is a need for some extra info please let me know.
Thank you.