Unity Sqlite



I am making a small game in Unity and I'm in need of a database. I tried using SQlite database because that seemed to be recommended by the internet.

Class videos . Now i'm having troubles with actually connecting to the local database via c#.

Sqlite

I implemented the Data en SQLite .dll's. I am trying to get 1 name from the database that I created using SQLite developer.

2.Copy sqlite3.def and sqlite3.dll into Plugins folder in your unity project. Sqlite3.dll is needed to link dynamically to the sqlite. And sqlite3.def is needed to define what symbols (or functions) needed to link with program using sqlite. Welcome to Unity Answers. The best place to ask and answer questions about development with Unity. To help users navigate the site we have posted a site navigation guide. If you are a new user to Unity Answers, check out our FAQ for more information. Make sure to check out our Knowledge Base for commonly asked Unity questions. If you are a moderator, see our Moderator Guidelines page.

Unity Sqlite Android

Database

Below is my DataConnection class, which I use to connect to the database.

Then I call the following method from another class:

Unity Sqlite Vs Json

UnityUnity Sqlite

I get the following errors when running the code:

So I'm guessing it has something to do with a 32/64 -bit mismatch or is there something wrong with creating an instance of a script like this?:

Unity Sqlite Command

Unity sqlite android

Happy to receive any help at all. I'm familier with using database, just new to SQLite.