Download

Error when packaging any of my projects (even brand new simple one)

This isn’t really a C++ problem but I couldn’t see a better section to write it.
I’ve never actually packaged a finished product in Unreal, but I tried today and got error “Unknown Cook Failure”.

Now I have read up as much as I can, but mostly it just says to make sure the map is added in Project>Default Maps and also in the array in the Packaging>Cooking section.

(EDIT: Since writing I noticed this part of log.txt : Access to the path ‘C:\Program Files\Epic Games\UE_4.27\Engine\Programs\AutomationTool\Saved’ is denied. . But I have tried deleting and restoring ‘Saved’ folder and I don’t know what else I can do

I’ve already added the map to both places. And included the buildasset part.

I tried creating a new project and simply adding a piece of floor (one I created in Maya). I set all the map settings as mentioned above, I build the project in Unreal without errors. I click Package>Windows X64 and it seems to build the game part but then it gets to the *COOK COMMAND and immediately fails without any real reason.

I tried this on my 4 projects I had already, and the new 1 which is just the floor piece. The error is the same on all.

Here is one of the logs:

LogUObjectHash: Compacting FUObjectHashTables data took 0.80ms
LogMainFrame: Selected target: LunaticLargeHouse
LogLauncherProfile: Unable to use promoted target - receipt …/…/…/…/…/…/Users/Dave/Documents/Unreal Projects/LunaticLargeHouse/Binaries/Win64/LunaticLargeHouse.target is not for a promoted target
UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…
UATHelper: Packaging (Windows (64-bit)): Parsing command line: -ScriptsForProject=“C:/Users/Dave/Documents/Unreal Projects/LunaticLargeHouse/LunaticLargeHouse.uproject” BuildCookRun -nocompileeditor -installed -nop4 -project=“C:/Users/Dave/Documents/Unreal Projects/LunaticLargeHouse/LunaticLargeHouse.uproject” -cook -stage -archive -archivedirectory=“C:/User
s/Dave/Documents/Unreal Projects/LunaticLargeHouse/builds” -package -ue4exe=“C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\Win64\UE4Editor-Cmd.exe” -compressed -ddc=InstalledDerivedDataBackendGraph -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -target=LunaticLargeHouse -clientconfig=Development -utf8output
UATHelper: Packaging (Windows (64-bit)): Setting up ProjectParams for C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject
UATHelper: Packaging (Windows (64-bit)): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\UnrealBuildTool.exe LunaticLargeHouse Win64 Development -Project=“C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject” “C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject” -NoUBTMakef
iles -remoteini=“C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse” -skipdeploy -Manifest=“C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Intermediate\Build\Manifest.xml” -NoHotReload -log=“C:\Users\Dave\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\UBT-LunaticLargeHouse-Win64-Development.txt”
UATHelper: Packaging (Windows (64-bit)): Writing manifest to C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows (64-bit)): Target is up to date
UATHelper: Packaging (Windows (64-bit)): Total execution time: 3.52 seconds
UATHelper: Packaging (Windows (64-bit)): Took 3.8004146s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (64-bit)): ********** BUILD COMMAND COMPLETED **********
UATHelper: Packaging (Windows (64-bit)): ********** COOK COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): Running UE4Editor Cook for project C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject
UATHelper: Packaging (Windows (64-bit)): ERROR: Cook failed.
UATHelper: Packaging (Windows (64-bit)): (see C:\Users\Dave\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\Log.txt for full exception trace)
PackagingResults: Error: Cook failed.
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Cook Failure

I really hope this is something simple (since I am new and never packaged before). But I am completely stumped and in real need of your help.

Big thanks for all help.

(EDIT: FULL CONTENTS OF LOG.txt)
Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=“C:/Users/Dave/Documents/Unreal Projects/LunaticLargeHouse/LunaticLargeHouse.uproject” BuildCookRun -nocompileeditor -installed -nop4 -project=“C:/Users/Dave/Documents/Unreal Projects/LunaticLargeHouse/LunaticLargeHouse.uproject” -cook -stage -archive -archivedirectory=“C:/Users/Dave/Documents/Unreal Projects/LunaticLargeHouse/builds” -package -ue4exe=“C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\Win64\UE4Editor-Cmd.exe” -compressed -ddc=InstalledDerivedDataBackendGraph -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -target=LunaticLargeHouse -clientconfig=Development -utf8output
Automation.Process: Setting up command environment.
InternalUtils.SafeFileExists: SafeFileExists C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationTool.exe=True
InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LOCAL_ROOT=
InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LOCAL_ROOT=
InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_EngineSavedFolder=
CommandUtils.SetEnvVar: SetEnvVar uebp_EngineSavedFolder=C:/Program Files/Epic Games/UE_4.27/Engine/Programs/AutomationTool/Saved
InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_EngineSavedFolder=C:/Program Files/Epic Games/UE_4.27/Engine/Programs/AutomationTool/Saved
InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_CSVFile=
InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LogFolder=
InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LOCAL_ROOT=C:/Program Files/Epic Games/UE_4.27
CommandUtils.SetEnvVar: SetEnvVar uebp_LogFolder=C:/Users/Dave/AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Program+Files+Epic+Games+UE_4.27
InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Users\Dave\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\Log.txt
InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Users\Dave\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\UBT-LunaticLargeHouse-Win64-Development.txt
InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_FinalLogFolder=
CommandUtils.SetEnvVar: SetEnvVar uebp_FinalLogFolder=C:/Users/Dave/AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Program+Files+Epic+Games+UE_4.27
InternalUtils.SafeFileExists: SafeFileExists C:\Windows\system32\robocopy.exe=True
InternalUtils.SafeFileExists: SafeFileExists C:\Windows\system32\mount.exe=False
InternalUtils.SafeFileExists: SafeFileExists C:\Windows\Sysnative\mount.exe=False
InternalUtils.SafeFileExists: SafeFileExists C:\Windows\system32\cmd.exe=True
CommandUtils.SetEnvVar: SetEnvVar MallocNanoZone=0
InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_UATChildInstance=0
WindowsPlatform.FindVisualStudioInstallations: Found Visual Studio installation: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community (Product=Microsoft.VisualStudio.Product.Community, Version=16.11.31624.102)
AndroidPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.AndroidPlatformSDK has no valid SDK
IOSPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.IOSPlatformSDK has no valid SDK
LinuxPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.LinuxPlatformSDK has no valid SDK
WindowsPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.WindowsPlatformSDK using manually installed SDK
InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Users\Dave\AppData\Local\Temp\UAT\C+Program+Files+Epic+Games+UE_4.27\Rules\UATRules-1730740131.dll
InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Users\Dave\AppData\Local\Temp\UAT\C+Program+Files+Epic+Games+UE_4.27\Rules\UATRules-1730740131.pdb
InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Users\Dave\AppData\Local\Temp\UAT\C+Program+Files+Epic+Games+UE_4.27\Rules\UATRules-1730740131Manifest.json
ScriptCompiler.FindAndCompileAllScripts: Found 16 project files in 0.317s
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\AllDesktop\AllDesktop.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\Android\Android.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\HoloLens\HoloLens.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\IOS\IOS.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\Linux\Linux.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\Localization\Localization.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\Lumin\Lumin.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\Mac\Mac.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\OneSkyLocalization\OneSkyLocalization.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\Scripts\AutomationScripts.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\TVOS\TVOS.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\Win\Win.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\AutomationTool\XLocLocalization\XLocLocalization.Automation.csproj
ScriptCompiler.FindAndCompileAllScripts: Parsed project files in 0.093s
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\AllDesktop\AllDesktop.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationUtils.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\BuildGraph.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\Gauntlet.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\HoloLens\HoloLens.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\IOS\IOS.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\Linux\Linux.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\Localization.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\Lumin\Lumin.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\Mac\Mac.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\OneSkyLocalization.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\TVOS\TVOS.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\Win.Automation.dll
ScriptCompiler.LoadAutomationAssemblies: Loading script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\XLocLocalization.Automation.dll
ScriptCompiler.FindAndCompileAllScripts: Loaded assemblies in 0.049s
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject=True
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject=True
BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\AppData\Local\Temp\UAT\C+Program+Files+Epic+Games+UE_4.27\Rules\UATRules-1730740131.dll=False
DynamicCompilation.RequiresCompilation: Compiling C:\Users\Dave\AppData\Local\Temp\UAT\C+Program+Files+Epic+Games+UE_4.27\Rules\UATRules-1730740131.dll: Assembly does not exist
ProjectParams.ValidateAndLog: Project Params **************
ProjectParams.ValidateAndLog: AdditionalServerMapParams=
ProjectParams.ValidateAndLog: Archive=True
ProjectParams.ValidateAndLog: ArchiveMetaData=False
ProjectParams.ValidateAndLog: CreateAppBundle=True
ProjectParams.ValidateAndLog: BaseArchiveDirectory=C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\builds
ProjectParams.ValidateAndLog: BaseStageDirectory=C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Saved\StagedBuilds
ProjectParams.ValidateAndLog: Build=True
ProjectParams.ValidateAndLog: SkipBuildClient=False
ProjectParams.ValidateAndLog: SkipBuildEditor=False
ProjectParams.ValidateAndLog: Cook=True
ProjectParams.ValidateAndLog: Clean=
ProjectParams.ValidateAndLog: Client=False
ProjectParams.ValidateAndLog: ClientConfigsToBuild=Development
ProjectParams.ValidateAndLog: ClientCookedTargets=LunaticLargeHouse
ProjectParams.ValidateAndLog: ClientTargetPlatform=Win64
ProjectParams.ValidateAndLog: Compressed=True
ProjectParams.ValidateAndLog: ForceUncompressed=False
ProjectParams.ValidateAndLog: AdditionalPakOptions=
ProjectParams.ValidateAndLog: AdditionalIoStoreOptions=
ProjectParams.ValidateAndLog: CookOnTheFly=False
ProjectParams.ValidateAndLog: CookOnTheFlyStreaming=False
ProjectParams.ValidateAndLog: UnversionedCookedContent=True
ProjectParams.ValidateAndLog: SkipCookingEditorContent=False
ProjectParams.ValidateAndLog: NumCookersToSpawn=0
ProjectParams.ValidateAndLog: GeneratePatch=False
ProjectParams.ValidateAndLog: AddPatchLevel=False
ProjectParams.ValidateAndLog: StageBaseReleasePaks=False
ProjectParams.ValidateAndLog: DiscVersion=
ProjectParams.ValidateAndLog: CreateReleaseVersion=
ProjectParams.ValidateAndLog: BasedOnReleaseVersion=
ProjectParams.ValidateAndLog: OriginalReleaseVersion=
ProjectParams.ValidateAndLog: DLCFile=
ProjectParams.ValidateAndLog: DLCIncludeEngineContent=False
ProjectParams.ValidateAndLog: DLCPakPluginFile=False
ProjectParams.ValidateAndLog: DiffCookedContentPath=
ProjectParams.ValidateAndLog: AdditionalCookerOptions=
ProjectParams.ValidateAndLog: DedicatedServer=False
ProjectParams.ValidateAndLog: DirectoriesToCook=
ProjectParams.ValidateAndLog: DDCGraph=InstalledDerivedDataBackendGraph
ProjectParams.ValidateAndLog: CulturesToCook= (Use Defaults)
ProjectParams.ValidateAndLog: EditorTargets=
ProjectParams.ValidateAndLog: Foreign=False
ProjectParams.ValidateAndLog: IsCodeBasedProject=True
ProjectParams.ValidateAndLog: IsProgramTarget=False
ProjectParams.ValidateAndLog: IterativeCooking=False
ProjectParams.ValidateAndLog: IterateSharedCookedBuild=
ProjectParams.ValidateAndLog: IterateSharedBuildUsePrecompiledExe=False
ProjectParams.ValidateAndLog: CookAll=False
ProjectParams.ValidateAndLog: CookPartialGC=False
ProjectParams.ValidateAndLog: CookInEditor=False
ProjectParams.ValidateAndLog: CookMapsOnly=False
ProjectParams.ValidateAndLog: Deploy=False
ProjectParams.ValidateAndLog: IterativeDeploy=False
ProjectParams.ValidateAndLog: FastCook=False
ProjectParams.ValidateAndLog: LogWindow=False
ProjectParams.ValidateAndLog: Manifests=False
ProjectParams.ValidateAndLog: MapToRun=
ProjectParams.ValidateAndLog: NoClient=False
ProjectParams.ValidateAndLog: NumClients=0
ProjectParams.ValidateAndLog: NoDebugInfo=True
ProjectParams.ValidateAndLog: SeparateDebugInfo=False
ProjectParams.ValidateAndLog: MapFile=False
ProjectParams.ValidateAndLog: NoCleanStage=False
ProjectParams.ValidateAndLog: NoXGE=False
ProjectParams.ValidateAndLog: MapsToCook=
ProjectParams.ValidateAndLog: MapIniSectionsToCook=
ProjectParams.ValidateAndLog: Pak=True
ProjectParams.ValidateAndLog: IgnorePaksFromDifferentCookSource=False
ProjectParams.ValidateAndLog: IoStore=False
ProjectParams.ValidateAndLog: SkipIoStore=False
ProjectParams.ValidateAndLog: SkipEncryption=False
ProjectParams.ValidateAndLog: GenerateOptimizationData=False
ProjectParams.ValidateAndLog: SkipPackage=False
ProjectParams.ValidateAndLog: Package=True
ProjectParams.ValidateAndLog: ForcePackageData=False
ProjectParams.ValidateAndLog: NullRHI=False
ProjectParams.ValidateAndLog: FakeClient=False
ProjectParams.ValidateAndLog: EditorTest=False
ProjectParams.ValidateAndLog: RunAutomationTests=False
ProjectParams.ValidateAndLog: RunAutomationTest=
ProjectParams.ValidateAndLog: RunTimeoutSeconds=0
ProjectParams.ValidateAndLog: CrashIndex=0
ProjectParams.ValidateAndLog: ProgramTargets=
ProjectParams.ValidateAndLog: ProjectPlatformBinariesPaths=[Win64, C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64]
ProjectParams.ValidateAndLog: ProjectExePaths=[Win64, C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.exe]
ProjectParams.ValidateAndLog: Distribution=False
ProjectParams.ValidateAndLog: Prebuilt=False
ProjectParams.ValidateAndLog: Prereqs=True
ProjectParams.ValidateAndLog: AppLocalDirectory=
ProjectParams.ValidateAndLog: NoBootstrapExe=False
ProjectParams.ValidateAndLog: RawProjectPath=C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject
ProjectParams.ValidateAndLog: Run=False
ProjectParams.ValidateAndLog: ServerConfigsToBuild=Development
ProjectParams.ValidateAndLog: ServerCookedTargets=
ProjectParams.ValidateAndLog: ServerTargetPlatform=Win64
ProjectParams.ValidateAndLog: ShortProjectName=LunaticLargeHouse
ProjectParams.ValidateAndLog: SignedPak=False
ProjectParams.ValidateAndLog: SignPak=
ProjectParams.ValidateAndLog: SkipCook=False
ProjectParams.ValidateAndLog: SkipCookOnTheFly=False
ProjectParams.ValidateAndLog: SkipPak=False
ProjectParams.ValidateAndLog: PrePak=False
ProjectParams.ValidateAndLog: SkipStage=False
ProjectParams.ValidateAndLog: Stage=True
ProjectParams.ValidateAndLog: bTreatNonShippingBinariesAsDebugFiles=False
ProjectParams.ValidateAndLog: bUseExtraFlavor=False
ProjectParams.ValidateAndLog: NativizeAssets=False
ProjectParams.ValidateAndLog: StageDirectoryParam=
ProjectParams.ValidateAndLog: AdditionalPackageOptions=
ProjectParams.ValidateAndLog: Project Params **************
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject=True
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject=True
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject=True
Project.Build: ********** BUILD COMMAND STARTED **********
UE4Build.Build: ************************* UE4Build:
UE4Build.Build: ************************* UseXGE: False
UE4Build.Build: ************************* UseParallelExecutor: False
InternalUtils.SafeFileExists: SafeFileExists C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\UnrealBuildTool.exe=True
InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Intermediate\Build\Manifest.xml
InternalUtils.SafeFileExists: SafeFileExists C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\UnrealBuildTool.exe=True
CommandUtils.Run: Running: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\UnrealBuildTool.exe LunaticLargeHouse Win64 Development -Project=“C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject” “C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject” -NoUBTMakefiles -remoteini=“C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse” -skipdeploy -Manifest=“C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Intermediate\Build\Manifest.xml” -NoHotReload -log=“C:\Users\Dave\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\UBT-LunaticLargeHouse-Win64-Development.txt”
ProcessResult.StdOut: Writing manifest to C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Intermediate\Build\Manifest.xml
ProcessResult.StdOut: Target is up to date
ProcessResult.StdOut: Total execution time: 3.52 seconds
CommandUtils.Run: Took 3.8004146s to run UnrealBuildTool.exe, ExitCode=0
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.exe=True
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.exe=True
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.pdb=True
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.pdb=True
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.target=True
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.target=True
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\OpenImageDenoise.dll=True
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\OpenImageDenoise.dll=True
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\tbb12.dll=True
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\tbb12.dll=True
InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Intermediate\Build\Manifest.xml
UE4Build.CheckBuildProducts: Build products *******
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.exe=True
UE4Build.CheckBuildProducts: C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.exe
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.pdb=True
UE4Build.CheckBuildProducts: C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.pdb
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.target=True
UE4Build.CheckBuildProducts: C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\LunaticLargeHouse.target
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\OpenImageDenoise.dll=True
UE4Build.CheckBuildProducts: C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\OpenImageDenoise.dll
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\tbb12.dll=True
UE4Build.CheckBuildProducts: C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\Binaries\Win64\tbb12.dll
UE4Build.CheckBuildProducts: End Build products *******
Project.Build: ********** BUILD COMMAND COMPLETED **********
InternalUtils.SafeFileExists: SafeFileExists C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject=True
Project.Cook: ********** COOK COMMAND STARTED **********
InternalUtils.SafeFileExists: SafeFileExists C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\Win64\UE4Editor-Cmd.exe=True
CommandUtils.RunCommandlet: Running UE4Editor Cook for project C:\Users\Dave\Documents\Unreal Projects\LunaticLargeHouse\LunaticLargeHouse.uproject
Log.WriteException: ==============================================================================
Log.WriteException: ERROR: Cook failed.
Log.WriteException: (see C:\Users\Dave\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\Log.txt for full exception trace)
Log.WriteException:
Log.WriteException: UnauthorizedAccessException: Access to the path ‘C:\Program Files\Epic Games\UE_4.27\Engine\Programs\AutomationTool\Saved’ is denied.
Log.WriteException: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
Log.WriteException: at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
Log.WriteException: at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
Log.WriteException: at AutomationTool.LogUtils.GetUniqueLogName(String Base) in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\LogUtils.cs:line 109
Log.WriteException: at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters, String& DestLogFile, Int32 ErrorLevel) in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 268
Log.WriteException: at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters, Int32 ErrorLevel) in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 238
Log.WriteException: at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters) in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 89
Log.WriteException: at Project.Cook(ProjectParams Params) in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 266Wrapped by AutomationException: Cook failed.
Log.WriteException: at Project.Cook(ProjectParams Params) in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 278
Log.WriteException: at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 206
Log.WriteException: at BuildCookRun.ExecuteBuild() in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 39
Log.WriteException: at AutomationTool.BuildCommand.Execute() in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 263
Log.WriteException: at AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary2 Commands) in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 547
Log.WriteException: at AutomationTool.Automation.Process(String[] Arguments, StartupTraceListener StartupListener) in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 511
Log.WriteException: at AutomationTool.Program.MainProc(String[] Arguments, StartupTraceListener StartupListener) in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Program.cs:line 175
Log.WriteException: at AutomationTool.Program.<>c__DisplayClass1_0.b__2() in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Program.cs:line 87
Log.WriteException: at AutomationTool.InternalUtils.RunSingleInstance(Func`1 Main) in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 739
Log.WriteException: at AutomationTool.Program.Main(String[] Arguments) in D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Program.cs:line 87
Log.WriteException: ==============================================================================
Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)

Ok well I think I fixed it by opening Epic Games and Also Unreal Engine as Administrator and then opening my project from that screen that loads up. Not sure if all these steps are necessary but that worked for the new test project I just made.

Annoying though, I am using the Administrator account of my machine. Indeed its the only user account on the machine.