UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: D:\UE5\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “D:\UE5\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Project_SW Win64 Shipping -Project=D:\UE5\jhuobncfvthguy5rdteuf\Project_SW\Project_SW.uproject -Manifest=D:\UE5\jhuobncfvthguy5rdteuf\Project_SW\Intermediate\Build\Manifest.xml -remoteini=“D:\UE5\jhuobncfvthguy5rdteuf\Project_SW” -skipdeploy -distribution -log=“C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE5+UE_5.3\UBT-Project_SW-Win64-Shipping.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE5+UE_5.3\UBT-Project_SW-Win64-Shipping.txt
UATHelper: Packaging (Windows): Creating makefile for Project_SW (manifest ‘D:\UE5\jhuobncfvthguy5rdteuf\Project_SW\Intermediate\Build\Manifest.xml’ not found)
UATHelper: Packaging (Windows): Writing manifest to D:\UE5\jhuobncfvthguy5rdteuf\Project_SW\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows): Building Project_SW…
UATHelper: Packaging (Windows): Using Visual Studio 2022 14.43.34808 toolchain (D:\VS\VC\Tools\MSVC\14.43.34808) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Packaging (Windows): [Upgrade]
UATHelper: Packaging (Windows): [Upgrade] Using backward-compatible build settings. The latest version of UE sets the following values by default, which may require code changes:
UATHelper: Packaging (Windows): [Upgrade] CppStandard = CppStandardVersion.Default => Updates C++ Standard to C++20 (Previously: CppStandardVersion.Cpp17).
UATHelper: Packaging (Windows): [Upgrade] WindowsPlatform.bStrictConformanceMode = true => Updates MSVC strict conformance mode to true (Previously: false).
UATHelper: Packaging (Windows): [Upgrade] Suppress this message by setting ‘DefaultBuildSettings = BuildSettingsVersion.V4;’ in Project_SW.Target.cs, and explicitly overriding settings that differ from the new defaults.
UATHelper: Packaging (Windows): [Upgrade]
UATHelper: Packaging (Windows): Determining max actions to execute in parallel (12 physical cores, 24 logical cores)
UATHelper: Packaging (Windows): Executing up to 12 processes, one per physical core
UATHelper: Packaging (Windows): ------ Building 4 action(s) started ------
UATHelper: Packaging (Windows): [1/4] Compile [x64] SharedPCH.Core.Cpp17.cpp
UATHelper: Packaging (Windows): Detected compiler newer than Visual Studio 2022, please update min version checking in WindowsPlatformCompilerSetup.h
UATHelper: Packaging (Windows): D:\UE5\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4668: “__has_feature” �� ������ ��� ���ம�।������ �९�����, ������ �� “0” ��� “#if/#elif”
UATHelper: Packaging (Windows): D:\UE5\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4067: ���।������� ���ᥬ� �� ��४⨢�� �९�����, �ॡ���� newline
UATHelper: Packaging (Windows): Total time in Parallel executor: 2.82 seconds
UATHelper: Packaging (Windows): Total execution time: 4.22 seconds
LogSlate: Took 0.001060 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Slate/Fonts/DroidSansFallback.ttf’ (3848K)
LogSlate: Last resort fallback font was requested. Font: ‘…/…/…/Engine/Content/Slate/Fonts/DroidSansFallback.ttf’, Character: ‘ம (U+0bae)’
LogSlate: Took 0.001526 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/SlateDebug/Fonts/LastResort.ttf’ (5269K)
UATHelper: Packaging (Windows): Took 4,37s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE5+UE_5.3\UBT-Project_SW-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 6s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error
(post deleted by author)
Iirc you need to modify your msvc installation, check this for details:
Whenever I get exit-code 6 I save in Unreal, close, and try to recompile in VS. It seems to be something with live-coding or having both apps open?
I cannot say I ever saw issues with some-kind-of-character tho…
EDIT: searching on the C4668 suggests something about your include statements, check those too?
Updating my answer, looking at the output log more closely. I think
IrSoil
is on to something. Seems like a msvc issue indeed. Have you recently updated Visual Studio? I would recommend doing a full “GenerateProjectFiles” and rebuild.
Thx, will try as soon as i can.
The-fix, for any kind of inconsistancy, or whenever I need to manually remove a class (.cpp/.h files):
- Save everything
- Close Unreal and VS
- under your Unreal project folder delete the /binaries and /intermediate folders
- start your project from the launcher
- BEFORE ANYTHING ELSE: Tools → Refresh Visual Studio Project
- Tools → Open Visual Studio
This will cause the project to rebuild your intermediary files and then update the project in VS so they are in-sync.
I have had to do this after I have updated VS on occasion, or if I say, mistakenly named a class and I want to ‘rename’ it (delete old and make new).