Can't run UnrealEditor with SDL_VIDEODRIVER=wayland

Something’s messed up, i did recompile with wayland support and replace the fpic file, but i still get the same error with SDL_VIDEODRIVER=wayland

Out of curiosity, i tried completely removing the Engine/Source/ThirdParty/SDL2 directory and the engine behaves exactly the same, SDL2 is in the first place by default compiled with wayland support currently so you shouldn’t need to set the opition (I checked with build.sh and it did say it was compiling with wayland support with no changes at all)

What seems to really be happening here is that unreal is either straight up not using sdl, or is at the very least not using the files in Engine/Source/ThirdParty/SDL2 at all.

I am of half a mind to try compiling the entire engine just to see if that fixes this but that is a lot of time to test something like this…

Edit: I did it, I recompiled the engine with the -DSDL_WAYLAND=ON flag set for SDL2, it took 5 hours and it did not resolve the issue.