Hi, I am working with SQLite for some weeks. Everything goes well untill I updated my Unity version to 5.
My ‘Mono.Data.Sqlite.dll’ and ‘System.Data.dll’ are copies form ‘Unity\Editor\Data\MonoBleedingEdge\lib\mono\2.0’. And put them at ‘Plugins’ folder.
Unity version: 5.0.0f4 Personal
Error Log:
Data Source=D:/eProjects/Unity/老婆的记账本/Assets/xyc.db, System.DllNotFoundException: sqlite3
at (wrapper managed-to-native) Mono.Data.Sqlite.UnsafeNativeMethods:sqlite3_open_v2 (byte,intptr&,int,intptr)
at Mono.Data.Sqlite.SQLite3.Open (System.String strFilename, SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool) [0x00000] in :0
at Mono.Data.Sqlite.SqliteConnection.Open () [0x00000] in :0
at (wrapper remoting-invoke-with-check) Mono.Data.Sqlite.SqliteConnection:Open ()
at DbAccess.OpenDB (System.String connectionString) [0x0000c]