Hi,
I build my project with scripting backend as IL2CPP(Unity 4.6.3 and Xcode 6.1.1). On building the project it is unable to deserialise the dictionary.
The error is :
SerializationException: Could not find type 'System.Collections.Generic.Dictionary`2[[System.Int32, mscorlib, Version=2.0.5.0, '.
at System.Runtime.Remoting.Messaging.RemotingSurrogate.GetObjectData (System.Object obj, System.Runtime.Serialization.SerializationInfo si, StreamingContext sc) [0x00000] in :0
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadType (System.IO.BinaryReader reader, TypeTag code) [0x00000] in :0
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadTypeMetadata (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo) [0x00000] in :0
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectInstance (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo, Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info) [0x00000] in :0
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (BinaryElement element, System.IO.BinaryReader reader, Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info) [0x00000] in :0
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader reader) [0x00000] in :0
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (BinaryElement elem, System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header& headers) [0x00000] in :0
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] in :0
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] in :0
at AutoSpriteControlBase.IUIObject.get_name () [0x00000] in :0
at EncodeData.Decode[FeedAnimalsTime] () [0x00000] in :0
at GameState.get_ActualGameState () [0x00000] in :0
at SplashSceneScript+c__Iterator10.MoveNext () [0x00000] in :0
at Replacements.MSCompatUnicodeTable.get_IsReady () [0x00000] in :0
at UnityEngine.MonoBehaviour.StartCoroutine_Auto (IEnumerator routine) [0x00000] in :0
at UnityEngine.MonoBehaviour.StartCoroutine (IEnumerator routine) [0x00000] in :0
at SplashSceneScript.LoadNextScene () [0x00000] in :0
at Replacements.MSCompatUnicodeTable.get_IsReady () [0x00000] in :0
Replacements.MSCompatUnicodeTable:get_IsReady()
UnityEngine.MonoBehaviour:StartCoroutine_Auto(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
SplashSceneScript:LoadNextScene()
Replacements.MSCompatUnicodeTable:get_IsReady()
(Filename: currently not available on il2cpp Line: -1)
There is no such issue when building the project with Mono(2.x) as scripting backend. I request you to please look into the issue as my game is completed and it is working fine for 32-bit support