UATHelper: Packaging (Windows): Detected compiler newer than Visual Studio 2022, please update min version checking in WindowsPlatformCompilerSetup.h
UATHelper: Packaging (Windows): C:\epic games\UE_5.1\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(29): error C4668: ‘__has_feature’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’
UATHelper: Packaging (Windows): C:\epic games\UE_5.1\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(29): error C4067: unexpected tokens following preprocessor directive - expected a newline
UATHelper: Packaging (Windows): [205/208] Compile Module.KawaiiPhysics.cpp cancelled
UATHelper: Packaging (Windows): [206/208] Compile Module.ACLPlugin.cpp cancelled
UATHelper: Packaging (Windows): [207/208] Link SparkingZERO-Win64-Shipping.exe cancelled
UATHelper: Packaging (Windows): [208/208] WriteMetadata SparkingZERO-Win64-Shipping.target cancelled
UATHelper: Packaging (Windows): Took 84.0566344s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\alexa\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+epic+games+UE_5.1\UBT-SparkingZERO-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 1m 25s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error
Ive been banging my ahead with this issue, i need to package content, for windows in shipping mode. But when I do I get this error. I have updated and been using visual studio 2022, I atleast think im using the correct .net sdk 3.1426 and I believe my plugins are ok.
if anyone can pls help
1 Like
So youre right, I had that checked in correctly.
But when I try to build, i still get and output error. In the log I noticed this
ATHelper: Packaging (Windows): [1/194] Compile SharedPCH.Engine.ShadowErrors.InclOrderUnreal5_0.cpp
UATHelper: Packaging (Windows): Detected compiler newer than Visual Studio 2022, please update min version checking in WindowsPlatformCompilerSetup.h
UATHelper: Packaging (Windows): C:\epic games\UE_5.1\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(29): error C4668: ‘__has_feature’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’
UATHelper: Packaging (Windows): C:\epic games\UE_5.1\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(29): error C4067: unexpected tokens following preprocessor directive - expected a newline
UATHelper: Packaging (Windows): [2/194] Compile Module.ACLPlugin.cpp cancelled
UATHelper: Packaging (Windows): [3/194] Compile Module.KawaiiPhysics.cpp cancelled
UATHelper: Packaging (Windows): [4/194] Compile SharedPCH.Engine.InclOrderUnreal5_0.cpp
UATHelper: Packaging (Windows): Detected compiler newer than Visual Studio 2022, please update min version checking in WindowsPlatformCompilerSetup.h
UATHelper: Packaging (Windows): C:\epic games\UE_5.1\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(29): error C4668: ‘__has_feature’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’
UATHelper: Packaging (Windows): C:\epic games\UE_5.1\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(29): error C4067: unexpected tokens following preprocessor directive - expected a newline
UATHelper: Packaging (Windows): [5/194] Compile Module.CriWareRuntime.7_of_8.cpp cancelled
I think I still did something wrong but dont know what.
1 Like