Brady:
First of all, I want to thank you for posting that code.
I was struggling with Unity 3, iPad and SQLite for a project I had to deliver pretty soon.
After two days of fighting with constant crashes on the iPad, I’ve decided to go back to Unity iPhone and redo the whole project. Problem is, on Unity iPhone I don’t have System.Data or SQLiteData from Mono.
So I used your code and adapted it to my needs and it worked exceptionally great.
So, thanks a lot for sharing.
–
On a side note, and just in case somebody has this same issue, I had to make one small change in order for this to work on the iPad, and it’s regarding the path to the Documents folder.
I had to use::
appDataPath = Application.dataPath + "/../../Documents/";
Instead of the Substring form.
This my be my issue with constant crashed, I save a lot of info before I load a new scene. I did not see this with Unity 1.7 and SDK 3.x, but with SDK 4, it’s crashing all the time