why i cant package my game


LogUObjectHash: Compacting FUObjectHashTables data took 0.37ms
LogTurnkeySupport: Project requires temp target (NiagaraFluids plugin is enabled)
LogLauncherProfile: Unable to use promoted target - G:/unreal engine/projects/gamejam2/Binaries/Win64/UnrealGame-Win64-Shipping.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ““C:/Program Files/Epic Games/UE_5.2/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“G:/unreal engine/projects/gamejam2/gamejam2.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=63497 -project=“G:/unreal engine/projects/gamejam2/gamejam2.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“G:/unreal engine/projects/gamejam2/gamejam2.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.2\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Wi
n64 -SkipCookingEditorContent -installed -stage -archive -package -build -clean -pak -iostore -compressed -prereqs -archivedirectory=“G:/unreal engine/projects/gamejam2” -clientconfig=Shipping -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=“G:/unreal engine/projects/gamejam2/gamejam2.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=63497 -project=“G:/unreal engine/projects/gamejam2/gamejam2.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“G:/unreal engine/projects/gamejam2/gamejam2.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.2\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -SkipCookingEditorContent -installed -stage -archive -package -build -clean -
pak -iostore -compressed -prereqs -archivedirectory=“G:/unreal engine/projects/gamejam2” -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules…
UATHelper: Packaging (Windows): Total script module initialization time: 0.14 s.
UATHelper: Packaging (Windows): Executing commands…
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.00000.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.22621.0, Allowed_AutoSdk=10.0.18362.0, Current_AutoSdk=, Flags=“InstalledSdk_ValidVersionExists”)
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 G:\unreal engine\projects\gamejam2\gamejam2.uproject
UATHelper: Packaging (Windows): gamejam2.uproject requires a temporary target.cs to be generated (NiagaraFluids plugin is enabled)
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: C:\Program Files\Epic Games\UE_5.2\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “C:\Program Files\Epic Games\UE_5.2\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” gamejam2 Win64 Shipping -Project=“G:\unreal engine\projects\gamejam2\gamejam2.uproject” -Clean -NoHotReload “G:\unreal engine\projects\gamejam2\gamejam2.uproject” -NoUBTMakefiles -remoteini=“G:\unreal engine\projects\gamejam2” -skipdeploy -log=“C:\Users\Marwan\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-gamejam2-Win64-
Shipping.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\Marwan\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-gamejam2-Win64-Shipping.txt
UATHelper: Packaging (Windows): Cleaning gamejam2 binaries…
UATHelper: Packaging (Windows): Visual Studio 2022 is installed, but is missing the C++ toolchain. Please verify that the “MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)” component is selected in the Visual Studio 2022 installation options.
UATHelper: Packaging (Windows): Visual Studio 2022 x64 must be installed in order to build this target.
UATHelper: Packaging (Windows): Took 0.48127030000000004s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\Marwan\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-gamejam2-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 2s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

any solution plz im in game jame

This looks like the main issue. Did you select C++ toolchain when installing Visual Studio 2022?

thx i installed

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.