Closed thegoldenmule closed 4 years ago
Hmmm this is an odd one. We use the TinyJson library from here. We'll have a look to see what we can do to sort it.
Looks like it actually doesn't support most primitives (unsigned and signed, short, long, etc). I can create a PR in that repo if it would be helpful.
@thegoldenmule That would be awesome if you have time 🙏
@novabyte https://github.com/zanders3/json/pull/36
@novabyte The json PR has been merged to master btw.
Ah yes - good reminder. I'll re-import that code into the .NET client so we can cut a release of the Unity client.
I've updated the TinyJson library in the .NET client - https://github.com/heroiclabs/nakama-dotnet/commit/651930a568473d0995a4c1a65760d1098ee651e8
We've got a release planned for the .NET client code and will then bundle it into the next Unity client.
Repro steps:
The Nakama TinyJson library does not properly support the
long
data type.We have switched to using Newtonsoft JSON which properly serializes/deserializes longs.