Closed 0x53A closed 5 years ago
I didn't know the server does that haha, no problem I will try to fix this one today, of course, if you want to give it a try too then be my guest :smile: PR's are always welcome
I'll try to send something tomorrow.
Looks like uint is also not supported:
type Mesh = {
Hash: string //byte array // 32 bytes
Vertices: V3 array
Indices: uint32 array // <--- I guess it fails here
Color: string
}
No uint
Fixed in SimpleJson/PR-18, will patch remoting client as soon the nuget is ready
Fix and published in version 4.5.3
of the remoting client, can you please update and check whether the issue persists?
I will open a separate issue for unsigned integers
Looks good.
Thank you!
My models look like this:
when I send them from server to client I get an error:
It seems the issue is that the server encodes the byte array as base64, but the client expects an actual array.
Encoding it as base64 is probably a good idea to reduce data waste, so I guess the client should be updated to special case byte arrays.