CAN YOU BUILD 4.27 ON WINDOWS 11?????

Seriously, why this??

11>Building 293 actions with 20 processes…
11> [1/293] Module.SlateNullRenderer.cpp
11>C:/UE4/4.27.2/Engine/Source/Runtime/SlateNullRenderer/Private/SlateNullRendererModule.cpp(12): fatal error C1083: Cannot open include file: ‘TextureResource.h’: No such file or directory
11> [2/293] UnrealFileServer.cpp
11> Detected compiler newer than Visual Studio 2019, please update min version checking in WindowsPlatformCompilerSetup.h
11>C:\UE4\4.27.2\Engine\Source\Runtime\NetworkFileSystem\Public\INetworkFileSystemModule.h(7): fatal error C1083: Cannot open include file: ‘ShaderCompiler.h’: No such file or directory
11> [3/293] Module.PhysicsCore.cpp
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(92): error C2653: ‘FChaosEngineInterface’: is not a class or namespace name
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(92): error C3861: ‘ReleaseMaterial’: identifier not found
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(103): error C2027: use of undefined type ‘FPhysicsMaterialHandle_PhysX’
11> C:\UE4\4.27.2\Engine\Source\Runtime\PhysicsCore\Public\PhysicsInterfaceDeclaresCore.h(188): note: see declaration of ‘FPhysicsMaterialHandle_PhysX’
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(103): error C2232: ‘->TUniquePtr<FPhysicsMaterialHandle,TDefaultDelete>::IsValid’: left operand has ‘class’ type, use ‘.’
11> with
11> [
11> T=FPhysicsMaterialHandle
11> ]
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(105): error C2653: ‘FChaosEngineInterface’: is not a class or namespace name
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(105): error C3861: ‘CreateMaterial’: identifier not found
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(105): error C2582: ‘operator =’ function is unavailable in ‘FPhysicsMaterialHandle_PhysX’
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(106): error C2027: use of undefined type ‘FPhysicsMaterialHandle_PhysX’
11> C:\UE4\4.27.2\Engine\Source\Runtime\PhysicsCore\Public\PhysicsInterfaceDeclaresCore.h(188): note: see declaration of ‘FPhysicsMaterialHandle_PhysX’
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(106): error C2232: ‘->TUniquePtr<FPhysicsMaterialHandle,TDefaultDelete>::IsValid’: left operand has ‘class’ type, use ‘.’
11> with
11> [
11> T=FPhysicsMaterialHandle
11> ]
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(108): error C2653: ‘FChaosEngineInterface’: is not a class or namespace name
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(108): error C3861: ‘SetUserData’: identifier not found
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(109): error C2653: ‘FChaosEngineInterface’: is not a class or namespace name
11>C:/UE4/4.27.2/Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(109): error C3861: ‘UpdateMaterial’: identifier not found
11> [4/293] PCH.Engine.cpp
11> Detected compiler newer than Visual Studio 2019, please update min version checking in WindowsPlatformCompilerSetup.h
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Components/ActorComponent.h(375): error C3668: ‘UActorComponent::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/Level.h(757): error C3668: ‘ULevel::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(2912): error C3668: ‘AActor::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Public\Subsystems/WorldSubsystem.h(24): error C3668: ‘UWorldSubsystem::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/World.h(1650): error C2065: ‘FAsyncPreRegisterDDCRequest’: undeclared identifier
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/World.h(1650): error C2923: ‘TSharedPtr’: ‘FAsyncPreRegisterDDCRequest’ is not a valid template type argument for parameter ‘ObjectType’
11> C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/World.h(1650): note: see declaration of ‘FAsyncPreRegisterDDCRequest’
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/World.h(1650): error C2976: ‘TSharedPtr’: too few template arguments
11> C:\UE4\4.27.2\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h(560): note: see declaration of ‘TSharedPtr’
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/World.h(1650): error C3203: ‘TSharedPtr’: unspecialized class template can’t be used as a template argument for template parameter ‘InElementType’, expected a real type
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/World.h(2564): error C3668: ‘UWorld::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Public\Physics/PhysicsInterfacePhysX.h(173): error C2504: ‘FChaosEngineInterface’: base class undefined
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Curves/CurveBase.h(82): error C3668: ‘UCurveBase::PostEditChangeProperty’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Sound/SoundEffectSource.h(62): error C3668: ‘USoundEffectSourcePresetChain::PostEditChangeProperty’: method with override specifier ‘override’ did not override any base class methods
11> [5/293] SharedPCH.Engine.ShadowErrors.cpp
11> Detected compiler newer than Visual Studio 2019, please update min version checking in WindowsPlatformCompilerSetup.h
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Components/ActorComponent.h(375): error C3668: ‘UActorComponent::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/Level.h(757): error C3668: ‘ULevel::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(2912): error C3668: ‘AActor::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Public\Subsystems/WorldSubsystem.h(24): error C3668: ‘UWorldSubsystem::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/World.h(1650): error C2065: ‘FAsyncPreRegisterDDCRequest’: undeclared identifier
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/World.h(1650): error C2923: ‘TSharedPtr’: ‘FAsyncPreRegisterDDCRequest’ is not a valid template type argument for parameter ‘ObjectType’
11> C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/World.h(1650): note: see declaration of ‘FAsyncPreRegisterDDCRequest’
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/World.h(1650): error C2976: ‘TSharedPtr’: too few template arguments
11> C:\UE4\4.27.2\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h(560): note: see declaration of ‘TSharedPtr’
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/World.h(1650): error C3203: ‘TSharedPtr’: unspecialized class template can’t be used as a template argument for template parameter ‘InElementType’, expected a real type
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/World.h(2564): error C3668: ‘UWorld::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Public\Physics/PhysicsInterfacePhysX.h(173): error C2504: ‘FChaosEngineInterface’: base class undefined
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Curves/CurveBase.h(82): error C3668: ‘UCurveBase::PostEditChangeProperty’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Sound/SoundEffectSource.h(62): error C3668: ‘USoundEffectSourcePresetChain::PostEditChangeProperty’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Animation/AnimNotifies/AnimNotify.h(94): error C3668: ‘UAnimNotify::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Animation/AnimInstance.h(1285): error C3668: ‘UAnimInstance::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/NetDriver.h(1496): error C3668: ‘UNetDriver::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/NetConnection.h(814): error C3668: ‘UNetConnection::GetWorld’: method with override specifier ‘override’ did not override any base class methods
11>C:\UE4\4.27.2\Engine\Source\Runtime\Engine\Classes\Engine/LocalPlayer.h(277): error C3668: ‘ULocalPlayer::GetWorld’: method with override specifier ‘override’ did not override any base class methods

Please forgive my outburst. It wasn’t very Christian of me?

Solution is to uncheck UnrealFileServer as part of the build. It looks like UFS has been removed from UE5 and I forgot this as a solution for my current project which right now requires 4.27.2.

If anyone has this when they build the solution to fix this issue is

  1. In the solution build configuration for each configuration, uncheck UnrealFileServer
  2. Build the solution
  3. It should build

Thanks

1 Like

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