UE 5.2: Default SDL2 not built with Wayland support

Hello!

I noticed that with the update to Unreal Engine 5.2, building the engine from source on GitHub, the pre-built SDL2 library downloaded by GitDependencies no longer includes Wayland support. It’s easy enough to re-build SDL2 locally (via the ThirdParty build script) but it’s somewhat inconvenient to have to do this manually because it means that people cross-compiling to Linux can’t create packaged builds that can use Wayland. It appears that this might have been a mistake: perhaps the SDL2 build environment used in Epic’s CI/CD process is missing one or more of the Wayland dependencies and therefore it gets switched off at build time. I was wondering if this was in fact an accident, and if this could be fixed in a point release or 5.3.

In UE 5.1.1 and earlier, the pre-built SDL2 libraries did include support for Wayland.

Thanks!

Same issue here. Built from source