Can you use Microsfot/Visual studio sqlite packages with Unity?

Hi,

I’m using one of the 3rd party sqlite plugins available to access an sqlite db.
I’m also using Visual Studio as the IDE to write the code for my unity project.
I was just hoping to confirm whether the packages that can be installed into Visual Studio eg. in my case I was thinking of installing Microsfoft.Data.Sqlite.Core - whether this is compatible with Unity? But I suspect it is not.

For instance the Microsoft Sqlite package - understandably - offers more features than the 3rd party plugins and would be preferable to use but i’m assuming when Unity builds my project to deploy it would just ignore these Microsoft packages?

Thanks

If you have a DLL for the Sqlite .NET assembly, it should work fine with Unity AFAIK. Unity - Manual: Managed plug-ins

1 Like

I wouldn’t use SQLite though. It’s very slow. Check out iBoxDB Pure Java .NET ACiD Embedded NoSQL Database if it still works with Unity. I tried two years ago or something, it was much faster.