[Flatpak] Crash when opening audio / hotkey / whisper settings

Hey there,
I’m working on updating the TeamSpeak 6 Flatpak from beta2 to beta3, and I’ve run into a problem that only happens in the Flatpak version.

The client crashes instantly when you try to open the Audio, Hotkey, or Whisper settings. This doesn’t happen with the non-Flatpak version of the beta3 client.

Process 39542 (TeamSpeak) of user 1000 dumped core.

Module /app/extra/TeamSpeak without build-id.
Module /app/extra/TeamSpeak
Module /app/extra/libtschat_client_lib_export.so without build-id.
Module /app/extra/libtschat_client_lib_export.so
Module /app/extra/soundbackends/libalsa_linux_amd64.so without build-id.
Module /app/extra/soundbackends/libalsa_linux_amd64.so
Module /app/extra/libtschat_client_lib.so without build-id.
Module /app/extra/libtschat_client_lib.so
Module /app/extra/libvdpau.so.1 without build-id.
Module /app/extra/libva-x11.so.2 without build-id.
Module /app/extra/libva-x11.so.2
Module /app/extra/libva.so.2 without build-id.
Module /app/extra/libva.so.2
Module /app/extra/libswscale.so.9 without build-id.
Module /app/extra/libswscale.so.9
Module /app/extra/libavcodec.so.62 without build-id.
Module /app/extra/libavcodec.so.62
Module /app/extra/libva-drm.so.2 without build-id.
Module /app/extra/libavutil.so.60 without build-id.
Module /app/extra/libavutil.so.60
Module /app/extra/libavformat.so.62 without build-id.
Module /app/extra/libavformat.so.62
Module /app/extra/libavfilter.so.11 without build-id.
Module /app/extra/libavfilter.so.11
Module /app/extra/libswresample.so.6 without build-id.
Module /app/extra/libswresample.so.6
Stack trace of thread 75:
#0  0x00007fba7ecfa501 n/a (/usr/lib/x86_64-linux-gnu/libX11.so.6.4.0 + 0x47501)
#1  0x000055690e649588 n/a (/app/extra/TeamSpeak + 0x1863588)
ELF object binary architecture: AMD x86-64

I know the Flatpak version isn’t officially supported, but it’s already been downloaded over 129,000 times from Flathub. Flatpak is a really common way for Linux users to get their apps these days, so it would be awesome if you could consider supporting it officially, as an additional way to download the client on linux, as competitors are also providing official flatpak builds.

Thanks for looking into this! Let me know if you need any more info.