|
I am using the following dll's from System.Data.SQLite SQLite.Interop.dll System.Data.SQLite.dll On iOS and Windows Unity Editor the following code creates the SQLite DB and is able to pull data back from it. When deploying to android it does not create the DB. I am perplexed and the data I've read via google is unclear on the next steps to remediate this. Code Excerpt: appDBPath = Application.persistentDataPath + "/datastore.s3db"; DataAccess oDao = new DataAccess(@"Data Source=" + appDBPath + ";UseUTF8Encoding=True;Version=3;Password=SomePass;"); Excerpt from DataAccess.cs
(comments are locked)
|

I'm curious to know what you did to get System.Data.SQLite dlls to work inside Unity at all. I see all the packages say that .NET 3.5 or 4.0 are required, but Unity only uses 2.0 AFAIK. I've tried to implement the 32-bit .NET 3.5 binaries, but Unity throws errors at runtime on the SQLite.Interop.dll not being found, even thought it's clearly in the Plugins folder...