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

Build fails with Unity of Mac

Open MichihitoManaka opened this issue 10 years ago • 0 comments

Hi, Thank you for the version 0.6.1.1.

But build in error will fail in two places.

SerializationTarget.cs Line 461

if DEBUG && !UNITY_IPHONE && !UNITY_ANDROID

You should be as follows? "#if DEBUG && !UNITY"

DictionaryMessagePackSerializer`3.cs Line 43

Uniry of error messages

Assets/MsgPack/Serialization/CollectionSerializers/DictionaryMessagePackSerializer3.cs(43,92): error CS0309: The typeTDictionary' must be convertible to System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>' in order to use it as parameterTDictionary' in the generic type or method `MsgPack.Serialization.CollectionSerializers.DictionaryMessagePackSerializerBase<TDictionary,TKey,TValue>'

Maybe Version of Mono is for 2.x.

Thanks,

MichihitoManaka avatar Aug 19 '15 10:08 MichihitoManaka