msgpack-cli icon indicating copy to clipboard operation
msgpack-cli copied to clipboard

The unpacked value is not 'System.UInt16' type for identical property name and type

Open mitec opened this issue 8 years ago • 1 comments

Hi,

we are using msgpack for communication between server (.NET 4.5.2) and client (.NET 2.0 subset - Unity3D). Everything works fine except this situation:

If we define an object with property having type and name identical, we get the following error: *The unpacked value is not 'System.UInt16' type. Do not convert System.String MessagePackObject to System.UInt16. * It looks like, the error occurs only on Windows (7), build running on linux (under Mono) is ok.

Thanks a lot.

Peter

mitec avatar Apr 25 '16 15:04 mitec

Hi, thank you for feedback! Could you put some repro code for this problem?

yfakariya avatar Apr 27 '16 14:04 yfakariya