Question by
empiregames · Jan 29, 2016 at 01:49 PM ·
json
JSON Deserialization not working properly on windows store Unity 5.3
I use Json Serialization on my Unity project, on Unity 5.3. All works fine on the Android platform, but on windows Phone, the deserialization does not work properly. I can deserialize a list/ an array of int-s, or an object, but I can deserialize a list/an array of objects.
public List<int> levelGoalsInt; - does work
public Goal goalObject; - does work
public List<Goal> levelGoals; - does not work
public class Goal { public int quantity = 1000;
public Goal()
{
}
}
I can deserialize all the data from the Goal class, so I don`t have any data that can`t be deserialized. Do you have any idea what really happnes?
Comment