Error when compiling server targets from UE5.6 p4 source

This question was created in reference to: [Build error when compiling engine with server from [Content removed]

Hello, per the referenced question, I’m still seeing build errors with 5.6 release from p4 licensee branch //UE5/Release-5.6

It looked like the issues with FFreeFaceType were planned to be resolved in 5.5 but is this not the case?

Some of what I’m currently seeing:

[4323/5717] Compile [x64] Module.Text3D.3.cpp (0:31.75 at +6:48) D:\s\p4\Engine\Plugins\Experimental\Text3D\Intermediate\Build\Win64\x64\UnrealServer\Shipping\Text3D\Definitions.h(157,1): warning C4005: 'WITH_FREETYPE': macro redefinition #define WITH_FREETYPE 0 ^ D:\s\p4\Engine\Plugins\Experimental\Text3D\Intermediate\Build\Win64\x64\UnrealServer\Shipping\Text3D\Definitions.h(91,1): note: see previous definition of 'WITH_FREETYPE' #define WITH_FREETYPE 1 ^ D:\s\p4\Engine\Plugins\Experimental\Text3D\Intermediate\Build\Win64\x64\UnrealServer\Shipping\Text3D\Definitions.h(192,1): warning C4005: 'WITH_HARFBUZZ': macro redefinition #define WITH_HARFBUZZ 1 ^ D:\s\p4\Engine\Plugins\Experimental\Text3D\Intermediate\Build\Win64\x64\UnrealServer\Shipping\Text3D\Definitions.h(158,1): note: see previous definition of 'WITH_HARFBUZZ' #define WITH_HARFBUZZ 0 ^ D:\s\p4\Engine\Plugins\Experimental\Text3D\Source\Text3D\Private\Extensions\Text3DDefaultLayoutExtension.cpp(260,29): error C2039: 'GetFace': is not a member of 'FFreeTypeFace' FontFace = FontFacePtr->GetFace(); ^ D:\s\p4\Engine\Plugins\Experimental\Text3D\Source\Text3D\Private\LayoutBuilders\Text3DShapedGlyphText.h(9,7): note: see declaration of 'FFreeTypeFace' class FFreeTypeFace; ^And

** For UnrealServer-Win64-Test ** [4642/5717] Compile [x64] Module.PixelStreaming2RTC.1.cpp (0:47.20 at +7:04) D:\s\p4\Engine\Plugins\Media\PixelStreaming2\Source\PixelStreaming2\Internal\UtilsCore.h(34) : error C4702: unreachable code inlined at D:\s\p4\Engine\Plugins\Media\PixelStreaming2\Source\PixelStreaming2RTC\Private\PixelStreaming2RTCModule.cpp(93) <call to UE::PixelStreaming2::IsStreamingSupported> while compiling UE::PixelStreaming2::FPixelStreaming2RTCModule::StartupModule D:\s\p4\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h(1057) : error C4702: unreachable code inlined at D:\s\p4\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(310) <call to TSharedPtr<FSlateApplication,1>::IsValid> inlined at D:\s\p4\Engine\Plugins\Media\PixelStreaming2\Source\PixelStreaming2RTC\Private\PixelStreaming2RTCModule.cpp(98) <call to FSlateApplication::IsInitialized> while compiling UE::PixelStreaming2::FPixelStreaming2RTCModule::StartupModuleThanks,

Hey there,

I’ve conferred with an engineer on the team, and a recent fix went in that would be present for 5.6.1. Please find the fix here.

Kind regards,

Julian

Great, thanks!