Hi. I'm switching our project from using pregenerated serializers to PrepareType.
public enum StatusType : int
{
OK = 0,
Exception = 1,
...
}
On 0.9.0beta2, in UnityEnumMessagePackSerializer I keep getting a NullReferenceException basically because Enum.GetValues(typeof(StatusType)) as object[] results in null.
Hi. I'm switching our project from using pregenerated serializers to PrepareType.
This is my enum:
On 0.9.0beta2, in UnityEnumMessagePackSerializer I keep getting a NullReferenceException basically because
Enum.GetValues(typeof(StatusType)) as object[]results in null.(https://github.com/msgpack/msgpack-cli/blob/0.9.0-beta2/src/MsgPack/Serialization/EnumMessagePackSerializer%601.cs#L302)