Unable to packge games in UE 5.1.1

Hey unreal fam- I’m working on building my first game, and I’ve run into an issue packaging the game.
I’m getting the dreaded ‘Windows SDK files not insalled correctly’ error. I’ve tried a few things from the forums- force updating the windows SDK from the build menu, updating visual studio code. Verifying the UE instal. But the issue persists!
I’m truely at a loss for what to troubleshoot here.

I’ve pasted a portion of the error logs bellow:

Blockquote

UATHelper: Packaging (Windows): WARNING: Error while enumerating Visual Studio toolchains
PackagingResults: Warning: Error while enumerating Visual Studio toolchains
UATHelper: Packaging (Windows): WARNING: Assuming no compilation capability for NET Framework projects.
PackagingResults: Warning: Assuming no compilation capability for NET Framework projects.
UATHelper: Packaging (Windows): Executing commands...
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Invalid, MinAllowed_Sdk=10.0.00000.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=, Allowed_AutoSdk=10.0.18362.0, Current_AutoSdk=, Flags="Platform_ValidHostPrerequisites")
UATHelper: Packaging (Windows): Will install ''
UATHelper: Packaging (Windows): Scanning for envvar changes...
UATHelper: Packaging (Windows): ... done! 
UATHelper: Packaging (Windows): Cleaning Temp Paths...
UATHelper: Packaging (Windows): BUILD SUCCESSFUL
UATHelper: Packaging (Windows): Setting up ProjectParams for D:\Dropbox\Dropbox\Personal_projects\Games\FirstPerson_demo\FirstPerson_demo.uproject
UATHelper: Packaging (Windows): FirstPerson_demo.uproject requires a temporary target.cs to be generated (ElectraPlayer plugin is enabled)
UATHelper: Packaging (Windows): ERROR: D:\Dropbox\Dropbox\Personal_projects\Games\FirstPerson_demo\FirstPerson_demo.uproject does not look like uproject file but no targets have been found!
UATHelper: Packaging (Windows):        (see C:\Users\amand\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+UE_5.1\Log.txt for full exception trace)
PackagingResults: Error: D:\Dropbox\Dropbox\Personal_projects\Games\FirstPerson_demo\FirstPerson_demo.uproject does not look like uproject file but no targets have been found!
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 0s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error
LogAudioMixer: Warning: Decoder Error, stopping source [CompileFailed]
LogEditorViewport: Clicking Background
LogSlate: Window 'Project Settings' being destroyed
LogSlate: Window 'Project Settings' being destroyed
LogSlate: Window 'SDK Not Setup' being destroyed
LogUObjectHash: Compacting FUObjectHashTables data took   0.62ms
LogDerivedDataCache: C:/Users/amand/AppData/Local/UnrealEngine/Common/DerivedDataCache: Maintenance finished in +00:00:07.253 and deleted 0 files with total size 0 MiB. Scanned 4236 files in 4202 folders with total size 431 MiB.
LogTurnkeySupport: Project requires temp target (ElectraPlayer plugin is enabled)
LogLauncherProfile: Unable to use promoted target - D:/Dropbox/Dropbox/Personal_projects/Games/FirstPerson_demo/Binaries/Win64/UnrealGame-Win64-Shipping.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""C:/UE_5.1/Engine/Build/BatchFiles/RunUAT.bat"  -ScriptsForProject="D:/Dropbox/Dropbox/Personal_projects/Games/FirstPerson_demo/FirstPerson_demo.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=56843  -project="D:/Dropbox/Dropbox/Personal_projects/Games/FirstPerson_demo/FirstPerson_demo.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook  -project="D:/Dropbox/Dropbox/Personal_projects/Games/FirstPerson_demo/FirstPerson_demo.uproject"  -unrealexe="C:\UE_5.1\Engine\
Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Win64 -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory="C:/Users/amand/Desktop/test" -nodebuginfo" -nocompile -nocompileuat ]
UATHelper: Packaging (Windows): Running AutomationTool...
UATHelper: Packaging (Windows): Using bundled DotNet SDK version: 6.0.302
UATHelper: Packaging (Windows): Starting AutomationTool...
UATHelper: Packaging (Windows): Parsing command line: -ScriptsForProject=D:/Dropbox/Dropbox/Personal_projects/Games/FirstPerson_demo/FirstPerson_demo.uproject Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=56843 -project=D:/Dropbox/Dropbox/Personal_projects/Games/FirstPerson_demo/FirstPerson_demo.uproject BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=D:/Dropbox/Dropbox/Personal_projects/Games/FirstPerson_demo/FirstPerson_demo.uproject -unrealexe=C:\UE_5.1\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -platform=Win64 -installed 
-stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=C:/Users/amand/Desktop/test -nodebuginfo -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules...
UATHelper: Packaging (Windows): Total script module initialization time: 0.19 s.
UATHelper: Packaging (Windows): WARNING: Error while enumerating Visual Studio toolchains
PackagingResults: Warning: Error while enumerating Visual Studio toolchains
UATHelper: Packaging (Windows): WARNING: Assuming no compilation capability for NET Framework projects.
PackagingResults: Warning: Assuming no compilation capability for NET Framework projects.
UATHelper: Packaging (Windows): Executing commands...
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Invalid, MinAllowed_Sdk=10.0.00000.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=, Allowed_AutoSdk=10.0.18362.0, Current_AutoSdk=, Flags="Platform_ValidHostPrerequisites")
UATHelper: Packaging (Windows): Will install ''
UATHelper: Packaging (Windows): Scanning for envvar changes...
UATHelper: Packaging (Windows): ... done! 
UATHelper: Packaging (Windows): Cleaning Temp Paths...
UATHelper: Packaging (Windows): BUILD SUCCESSFUL
UATHelper: Packaging (Windows): Setting up ProjectParams for D:\Dropbox\Dropbox\Personal_projects\Games\FirstPerson_demo\FirstPerson_demo.uproject
UATHelper: Packaging (Windows): FirstPerson_demo.uproject requires a temporary target.cs to be generated (ElectraPlayer plugin is enabled)
UATHelper: Packaging (Windows): ERROR: D:\Dropbox\Dropbox\Personal_projects\Games\FirstPerson_demo\FirstPerson_demo.uproject does not look like uproject file but no targets have been found!
UATHelper: Packaging (Windows):        (see C:\Users\amand\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+UE_5.1\Log.txt for full exception trace)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 0s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=1 (Error_Unknown)
PackagingResults: Error: D:\Dropbox\Dropbox\Personal_projects\Games\FirstPerson_demo\FirstPerson_demo.uproject does not look like uproject file but no targets have been found!
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error
LogAudioMixer: Warning: Decoder Error, stopping source [CompileFailed]

Any help is appreciated!

Hey @DerkhanBeefsteak

from what I read and see I’d say you only have VS Code installed and not the necessary Build Tools. So you have an editor but not the files for compiling your project. So either install Visual Studio Community Edition or download the BuildTools and select the C++ package:

Documentation:

Visual Studio Community Edition (either):

Build Tools(or):
https://aka.ms/vs/17/release/vs_BuildTools.exe

thats was it! thank you!

Feel kinda goofy for not having the build tools installed (their doesn’t seems to be much documentation for someone completly unfamiliar with the process out there)

1 Like