Does anybody have XMLSerializer working with arrays on the iPhone

I have an object that contains two short arrays of simple inventory items. Items are composed of an enum and a float. I am using XMLSerializer to write the object to a file. The first time, it always works, and often it will work several times, but it always ends up locking up the device, with no message whatsoever in the xcode debugger. The code works perfectly in the editor, every time.

When I set the arrays private, so that XMLSerializer ignores them, everything works fine, so it’s something to do with the arrays. Has anybody managed to make this work?

What does the XCode console mention on the fails on a debug build that does not use “fast and no exception” and set to debug in xcode? :slight_smile: