I need to transfer tons of data, mainly Vector3s and wanted to give MsgPack a try.
However after installing it, I can't set the proper attributes.
When I try to set the [MessagePackObject] attribute, I get an error that MessagePackObject is not an attribute class. Which is correct as its defined as
public struct MessagePackObject : IEquatable<MessagePackObject>, IPackable, IAsyncPackable
I tried the official release binaries and nu-get, both with the same result.
You have installed the wrong library. You're following the Quick Start for neuecc/MessagePack, but you're using the binaries for msgpack/MessagePack-CLI (see source for MessagePackObject
).
Install the proper NuGet package:
Install-Package MessagePack -Version 2.0.335