FreeType2 dependency blocks server pre-installed builds on Linux platforms UE5.6

You already solved this issue for 5.5 version. Case №15437781. Do you have same patch for 5.6?

Error:

Linux dedicated server is made to depend on FreeType2. We want to avoid this, please correct module dependencies.

Unable to instantiate module ‘FreeType2’

Chain:

allmodules option -> AvalancheDisplayCluster.uplugin -> AvalancheDisplayCluster.Build.cs -> AvalancheMedia.Build.cs -> Avalanche.Build.cs -> Text3D.Build.cs

Verification:

  • Error occurs consistently on Linux platforms. Can’t check on Windows as my build fails with different error
  • Error occurs with clean builds only with server components enabled
  • Issue appears to be with core engine modules, not third-party content
  • Issue persists even with minimal project configuration

Steps to Reproduce
Steps to Reproduce

Windows:

- Visual Studio 2022 17.12.3

- Windows SDK 10.0.22621.0

Linux:

- Clang 18.1.0 (v25 toolchain)

- Ubuntu/Rocky Linux (Latest)

# Linux

RunUAT.sh BuildGraph -target=“Make Installed Build Linux” -script=Engine/Build/InstalledEngineBuild.xml -clean -set:WithServer=true

Hi,

It looks like the change is present in AvalancheDisplayCluster.uplugin file 5.6.

Am I misunderstanding your request?

Julian

Hi Alexey,

I think the problem is the same than with 5.5 but with the AvalancheDataLink uplugin this time. You should be able to work around the problem by adding a Target deny list entry for the runtime module. It should look like this:

... "Modules": [ { "Name": "AvalancheDataLink", "Type": "Runtime", "LoadingPhase": "Default", "TargetDenyList": [ "Server" ] }, { "Name": "AvalancheDataLinkEditor", "Type": "Editor", "LoadingPhase": "Default" } ], ...

I will work with the dev team to get this fixed in a future release.

Martin

I also made a fix to disable Avalanch DataLink and it works.

Thanks a lot for your help.