Hi, I am quite new in building in unreal, and wanted to build something to run on windows,
When i try to pack it I get this error
ERROR: Cook failed.
(see C:\Users\username\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.0\Log.txt for full exception trace)
UnauthorizedAccessException: Access to the path ‘C:\Program Files\Epic Games\UE_5.0\Engine\Programs\AutomationTool\Saved’ is denied.
at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
at System.IO.Directory.CreateDirectory(String path)
at AutomationTool.LogUtils.GetUniqueLogName(String Base) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\LogUtils.cs:line 110
at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UnrealExe, String Commandlet, String Parameters, String& DestLogFile, Int32 ErrorLevel) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 269
at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UnrealExe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 91
at AutomationScripts.Project.Cook(ProjectParams Params) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 268Wrapped by AutomationException: Cook failed.
at AutomationScripts.Project.Cook(ProjectParams Params) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 284
at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 206
at BuildCookRun.ExecuteBuild() in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 41
at AutomationTool.BuildCommand.Execute() in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 344
at AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary
2 Commands) in D:\build++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 254
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
is it a matter of having more rights to that folder? I have seen a similar post but nor really sure.
Many thanks in advance!