Device: Surface Pro 8
Unity editor version: 2021.3.11f1c2 ( LTS )
Table of contents
1. Find the necessary components
Preface
I believe it is already very complicated for everyone to use databases such as Sqlite in Unity development, and it is even more troublesome if you want it to be usable on the platform it is packaged on. Below I will introduce to you a method that I have tested to be effective.
I am a newbie, so if there are any mistakes, please understand and point them out in the comment area. Thank you~
Practical steps
1. Necessary components
(1) Mono.Data.Sqlite.dll
Go to the installation path of the unity editor to find the file corresponding to your unity version.
My files are placed at: ${UnityEditor installation path}\Data\MonoBleedingEdge\lib\mono\gac\Mono.Data.Sqlite\4.0.0.0__0738eb9f132ed756\Mono.Data.Sqlite.dll
Copy this file to the Assets/Plugins folder under your project (if there is no such folder, create one yourself)
(2) System.Data.dll
Go to the installation path of the unity editor to find and