On UE5.5.4, working with the city sample project (City Sample | Fab), while trying to load the platforms to package the project, I get the following ERROR:
LogTurnkeySupport: Warning: Turnkey failed to run properly, full Turnkey output:
Running AutomationTool...
Using bundled DotNet SDK version: 8.0.300
Starting AutomationTool...
Parsing command line: -ScriptsForProject=C:/CitySample/CitySample.uproject Turnkey -utf8output -WaitForUATMutex -command=VerifySdk -ReportFilename=C:/CitySample/Intermediate/TurnkeyReport_1.log -log=C:/CitySample/Intermediate/TurnkeyLog_1.log -project=C:/CitySample/CitySample.uproject -Device=Win64@HELL
Initializing script modules...
Building 1 projects (see Log 'Engine/Programs/AutomationTool/Saved/Logs/Log.txt' for more details)
Restore...
Build...
C:\CitySample\Build\Scripts\CSC(0,0): error CS2001: Source file 'C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestConfig.cs' could not be found. (C:\CitySample\Build\Scripts\CitySample.Automation.csproj)
C:\CitySample\Build\Scripts\CSC(0,0): error CS2001: Source file 'C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs' could not be found. (C:\CitySample\Build\Scripts\CitySample.Automation.csproj)
Failed to build: C:\CitySample\Build\Scripts\CitySample.Automation.csproj
Build projects time: 5.18 s
AutomationTool executed for 0h 0m 9s
AutomationTool exiting with ExitCode=1 (Error_Unknown)
BUILD FAILED
How can I enable the Windows Package option, which currently says that the required SDK has not been installed ?
From your log, the main conflict seems to be missing .cs files:
error CS2001: Source file 'AutomatedPerfTestConfig.cs' could not be found
error CS2001: Source file 'AutomatedPerfTestNode.cs' could not be found
These type of files are tied to the Automation tool, which means, if they are not found, they are either missing, or installed with an incorrect version. And on top of that, you have the missing SDK conflict.
As suggested by the previous answer, the minimum SDK version you should have installed for 5.5 is 10.0.19041.0. But you also need to make sure that all the other elemends tied to the setup between VS and UE are present, and using their correct version.
Please review the status of your install using the following document.
Thank you for the update. The output log section shown in your screen does not include the cause of the error related to “Installing SDK failed!". If possible, please send the full log, so we can review it to find the cause.
On the other hand, if all components are present in your system, at this point, we could be dealing with related to the engine’s current setup. I would suggest a full uninstall/reinstall of all Epic software:
First, uninstall the engine, launcher, asset packs, etc
Next, open the registry directory HKEY_CURRENT_USER\Software\Epic Games\Unreal Engine\Builds, and delete any build entries
Finally, delete the folders %userprofile%\AppData\Local\UnrealEngine and %userprofile%\AppData\Local\UnrealHeaderTool
After that, no elements related to UE should be left in your system
Now, reinstall UE launcher from scratch, and only add the latest version of the engine
After the process is complete, refresh the VS setup
LogSlate: Window 'SDK Not Setup' being destroyed
LogUObjectHash: Compacting FUObjectHashTables data took 0.85ms
LogTurnkeySupport: Selected target: CitySample
LogLauncherProfile: Unable to use promoted target - ../../../../../../CitySample_5.5.4/Binaries/Win64/CitySample-Win64-Shipping.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""C:/Program Files/Epic Games/UE_5.5/Engine/Build/BatchFiles/RunUAT.bat" -ScriptsForProject="C:/CitySample_5.5.4/CitySample.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=52708 -project="C:/CitySample_5.5.4/CitySample.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="C:/CitySample_5.5.4/CitySample.uproject" -target=CitySample -unrealexe="C:\Program Files\Epic Games\UE_5.5\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Win64 -installed -stag
e -archive -package -build -clean -pak -iostore -compressed -prereqs -archivedirectory="C:/CitySample_5.5.4/OUTPUT" -manifests -CrashReporter -clientconfig=Shipping -nodebuginfo" ]
UATHelper: Packaging (Windows): Running AutomationTool...
LogAutomationController: Ignoring very large delta of 9.77 seconds in calls to FAutomationControllerManager::Tick() and not penalizing unresponsive tests
UATHelper: Packaging (Windows): Using bundled DotNet SDK version: 8.0.300
UATHelper: Packaging (Windows): Starting AutomationTool...
UATHelper: Packaging (Windows): Parsing command line: -ScriptsForProject=C:/CitySample_5.5.4/CitySample.uproject Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=52708 -project=C:/CitySample_5.5.4/CitySample.uproject BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=C:/CitySample_5.5.4/CitySample.uproject -target=CitySample -unrealexe="C:\Program Files\Epic Games\UE_5.5\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Win64 -installed -stage -archive -package -build -clean -pak -iostore -compressed -prereqs -archivedirectory=
C:/CitySample_5.5.4/OUTPUT -manifests -CrashReporter -clientconfig=Shipping -nodebuginfo
UATHelper: Packaging (Windows): Initializing script modules...
UATHelper: Packaging (Windows): Building 1 projects (see Log 'Engine/Programs/AutomationTool/Saved/Logs/Log.txt' for more details)
UATHelper: Packaging (Windows): Restore...
UATHelper: Packaging (Windows): Build...
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs(1365,57): error CS0117: 'InterfaceHelpers' does not contain a definition for 'FindTypes' (C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestConfig.cs(193,14): error CS1061: 'UnrealAppConfig' does not contain a definition for 'UsePlatformExtraDebugMemory' and no accessible extension method 'UsePlatformExtraDebugMemory' accepting a first argument of type 'UnrealAppConfig' could be found (are you missing a using directive or an assembly reference?) (C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs(1064,16): error CS0246: The type or namespace name 'IPlatformTargetSupport' could not be found (are you missing a using directive or an assembly reference?) (C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs(1064,119): error CS0246: The type or namespace name 'IPlatformTargetSupport' could not be found (are you missing a using directive or an assembly reference?) (C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs(1076,6): error CS0246: The type or namespace name 'IPlatformTargetSupport' could not be found (are you missing a using directive or an assembly reference?) (C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs(104,55): error CS0103: The name 'GetCachedConfiguration' does not exist in the current context (C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs(224,30): error CS0103: The name 'GetCachedConfiguration' does not exist in the current context (C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs(266,26): error CS0103: The name 'GetCachedConfiguration' does not exist in the current context (C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs(329,27): error CS0103: The name 'GetCachedConfiguration' does not exist in the current context (C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs(469,8): error CS0103: The name 'GetCachedConfiguration' does not exist in the current context (C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs(493,26): error CS0103: The name 'GetCachedConfiguration' does not exist in the current context (C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs(500,21): error CS0103: The name 'GetCachedConfiguration' does not exist in the current context (C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Packaging (Windows): Failed to build: C:\CitySample_5.5.4\Build\Scripts\CitySample.Automation.csproj
UATHelper: Packaging (Windows): Build projects time: 5.75 s
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 10s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error
Building 1 projects (see Log ‘Engine/Programs/AutomationTool/Saved/Logs/Log.txt’ for more details): the folder is missing inside the engine…
did everything you mentioned in the steps, but even after installing everything from scratch, the problem is still the same, even with the latest UE version, i.e., 5.6.1:
Thanks for the updates, now we have ruled out a few factors. We know that the issue is not coming from the engine install, or the SDK status. The new log you added shows a different problem, related to the MagickNET component:
error NU1903: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known high severity vulnerability
error NU1902: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known moderate severity vulnerability
error NU1901: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known low severity vulnerability
This is a failure related to NuGet dependency warnings being treated as errors during the AutomationTool build step. The package is returning multiple warnings, that would usually be ignored, but since UE’s build system is configured with “TreatWarningsAsErrors”, the whole process is collapsing.
In order to fix the issue, you should either update the NuGet components, or bypass its security check, following the steps below:
In “Engine/Source/Programs/AutomationTool” and “Gauntlet”, open the .csproj files and update “Magick.NET-Q16-HDRI-AnyCPU” to its latest version. After that, run “dotnet restore”, then rebuild.
In the same .csproj files, set the following: <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
This will prevent the build from failing on vulnerability warnings. You can find more details regarding this process in the thread below:
Additionally, please clear your project’s cache via the following steps:
Close Visual Studio and UE Editor completely
Delete these folders from your project:
Binaries/
Intermediate/
Saved/
Right-click your .uproject file > “Generate Visual Studio project files”
I’ll do as you said, but first-of-all, I’ll install UE5.5.4 and then add the City Sample project, then will see about the errors and is there any other way we could connect, like Discord?