Error When Packing

Hi everyone, I have a problem when I want to pack my project, there is a PackagingResults: Error: Unknown Error, I have tried several things from installing the SDK, and my .NET CORE, I followed the method on YouTube, but it still doesn’t work, how do I solve this?

this is the log

LogUObjectHash: Compacting FUObjectHashTables data took 0.54ms
LogTurnkeySupport: Project requires temp target (Landmass plugin is enabled)
LogLauncherProfile: Unable to use promoted target - G:/DEMOSRPL/DEMOS/Binaries/Win64/UnrealGame-Win64-Shipping.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ““D:/Application/UE_5.4/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“G:/DEMOSRPL/DEMOS/DEMOS.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=51250 -project=“G:/DEMOSRPL/DEMOS/DEMOS.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“G:/DEMOSRPL/DEMOS/DEMOS.uproject” -unrealexe=“D:\Application\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage -archive -package -build -clean -pak -iostore -compressed -prere
qs -archivedirectory=“G:/DEMOSRPL” -distribution -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:/DEMOSRPL/DEMOS/DEMOS.uproject Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=51250 -project=G:/DEMOSRPL/DEMOS/DEMOS.uproject BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=G:/DEMOSRPL/DEMOS/DEMOS.uproject -unrealexe=D:\Application\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -platform=Win64 -installed -stage -archive -package -build -clean -pak -iostore -compressed -prereqs -archivedirectory=G:/DEMOSRPL -distribution -clientconfig=Shipping -nodeb
uginfo -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules…
UATHelper: Packaging (Windows): Total script module initialization time: 0.18 s.
UATHelper: Packaging (Windows): Using C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe
UATHelper: Packaging (Windows): Executing commands…
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.18362.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.26100.0, Allowed_AutoSdk=10.0.19041.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:\DEMOSRPL\DEMOS\DEMOS.uproject
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: D:\Application\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “D:\Application\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” DEMOS Win64 Shipping -Project=“G:\DEMOSRPL\DEMOS\DEMOS.uproject” -Clean -NoHotReload “G:\DEMOSRPL\DEMOS\DEMOS.uproject” -NoUBTMakefiles -remoteini=“G:\DEMOSRPL\DEMOS” -skipdeploy -distribution -log=“C:\Users\ASUS\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Application+UE_5.4\UBA-DEMOS-Win64-Shipping.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\ASUS\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Application+UE_5.4\UBA-DEMOS-Win64-Shipping.txt
UATHelper: Packaging (Windows): Cleaning DEMOS 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,73s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\ASUS\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Application+UE_5.4\UBA-DEMOS-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 3s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

Greetings @BabaRelaf

Is this a new project or were you migrating over from an older version? (Also, I’d start by disabling any plugins you have enabled and rebuilding everything)