When packaging a game for Linux with the TwitchSDK (using Unreal 5.3), it fails with the following error:
Plugins\TwitchSDK\core\include\r66_strings.hpp(187,21): error: cannot use 'throw' with exceptions disabled
Despite having Linux in the default PlatformAllowList.
Info for those who want to disable the Plugin on Linux:
// TwitchSDK.uplugin
"PlatformAllowList": ["Win64"],
// or
"PlatformDenyList": ["Linux"],
// *.Build.cs
if (Target.Platform == UnrealTargetPlatform.Win64)
{
PrivateDependencyModuleNames.Add("TwitchSDK");
}
// everywhere you have SDK-related code
#if PLATFORM_WINDOWS
#include "TwitchSDK.h"
#endif