Without an explicit MessagePackSerializerOptions argument, a shared/static default will be assumed which any other code in the entire AppDomain or process can alter, causing malfunction in your invocation.
MessagePackSerializer.Serialize(obj);
Specify a MessagePackSerializerOptions
value that comes from an immutable static property, field or local variable.
MessagePackSerializer.Serialize(obj, MessagePackSerializerOptions.Standard);