-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I implemented your plugin in my unity game. I am using x86 build of my game.
It shows error:
EntryPointNotFoundException: sqlite3_key
Mono.Data.Sqlite.SQLite3.SetPassword (System.Byte[] passwordBytes) (at <99f7d8f9a65b4d91ae5b1d55c424866f>:0)
Mono.Data.Sqlite.SqliteConnection.Open () (at <99f7d8f9a65b4d91ae5b1d55c424866f>:0)
It works fine in x64 build but messes up in x86. Why is this issue happening? How do I fix it?
Here is an implementation of plugin in c#:
string connection = "URI=file:C:/files/serial.db;Version=3;Password=samplepassword";
IDbConnection dbcon = new SqliteConnection(connection);
dbcon.Open();
IDbCommand cmnd_read = dbcon.CreateCommand();
IDataReader reader;
string query = "SELECT * FROM KeyId";
cmnd_read.CommandText = query;
reader = cmnd_read.ExecuteReader();
while (reader.Read())
{
Debug.Log (reader[0].ToString());
textfileData = reader[0].ToString();
}
dbcon.Close();
Metadata
Metadata
Assignees
Labels
No labels