The stacking settings use a C# "BinaryFormatter", which was [deprecated](https://learn.microsoft.com/en-us/dotnet/standard/serialization/binaryformatter-security-guide) and does not work in the code.