Hi,
We have an EXC_BAD_ACCESS in iOS/iPad machine when we deserilize XML,but everything is OK in the Editor.
Would be quite appreciate for any help!
this is the test code:
public void Test(){
string test = @"<testxml test='1000'/>";
t.text = "";
var stream = new MemoryStream (Encoding.UTF8.GetBytes (test));
var rst = (TestXML)(s.Deserialize (stream));
t.text = t.text + " " + rst.test.ToString ();
stream.Close ();
}
[XmlType("testxml")]
public class TestXML{
[XmlAttribute]
public int test;
}