Android serialization and scanning issue?

Hi, I have a bug to report. When using A* (free) on android and trying to scan a graph, instead of scanning it I get this error:

W/Unity ( 6661): Caught exception while deserializing data.
W/Unity ( 6661): System.MissingMethodException: Method not found: ‘Default con
structor not found…ctor() of System.ComponentModel.Int32Converter’.
W/Unity ( 6661): at System.Activator.CreateInstance (System.Type type, Boole
an nonPublic) [0x00000] in :0
W/Unity ( 6661): at System.Activator.CreateInstance (System.Type type) [0x00
000] in :0
W/Unity ( 6661): at System.ComponentModel.TypeDescriptor.GetConverter (Syste
m.Type type) [0x00000] in :0
W/Unity ( 6661): at Pathfinding.Serialization.JsonFx.TypeCoercionUtility.Coe
rceType (System.Type targetType, System.Object value) [0x00000] in :0
W/Unity ( 6661): at Pathfinding.Serialization.JsonFx.JsonReader.ReadNumber (
System.Type expectedType) [0x00000] in :0
W/Unity ( 6661): at Pathfinding.Serialization.JsonFx.JsonReader.Read (System
.Type expectedType, Boolean typeIsHint) [0x00000] in :0
W/Unity ( 6661): at Pathfinding.Serialization.JsonFx.JsonReader.PopulateObje
ct (System.Object result, System.Type objectType, System.Collections.G

I know it’s trimmed, I couldn’t get a better one. What’s wrong? Is this a unity bug maybe?


Well I just realized this was happening because build stripping was enabled for android and that messed with reflection.

Yup, you can solve that however. See the large iOS thread in the old forums. In the next version there will be better docs for this and it will be easier to configure.