finds.dev← search

// the find

gilzoide/unity-sqlite-net

★ 276 · C · MIT · updated Apr 2026

SQLite-net for Unity, supports Windows, Linux, macOS, iOS, tvOS, visionOS, Android and WebGL

A Unity UPM package that bundles SQLite-net with prebuilt native libraries for every platform Unity targets, including WebGL via a custom IndexedDB-backed VFS. It's for game developers who want ORM-style SQLite access without the usual pain of getting native binaries to cooperate across platforms and build pipelines.

Ships prebuilt .so/.dylib/.dll for all major architectures including Android arm32/arm64/x86/x86_64 and Windows arm64 — no CMake fight required. The WebGL story is actually solved, not just listed as supported: there's a real custom VFS backed by IndexedDB so data persists across sessions. The SQLiteAsset importer is a genuinely useful Unity-native addition — drag a .sqlite file into your project and it just works as a first-class asset. The managed code stripping fix (making column attributes inherit PreserveAttribute) is the kind of detail that saves you a day of debugging on a stripped IL2CPP build.

Bundles SQLite3 Multiple Ciphers instead of vanilla SQLite, which is a meaningful binary size bump even if you never use encryption — there's no lightweight variant for games that don't need it. The native libraries are checked into the repo as binary blobs, so auditing what's actually in them requires trusting the build scripts in Plugins/tools~ or re-running the Dockerfiles yourself. SQLite-net itself is pinned at v1.9.172 with local source modifications, meaning upstream bug fixes don't flow in automatically and the modifications aren't versioned separately from the package. No async-friendly WebGL task scheduler is documented explicitly in the README — the fix is in the code but you'd only find it in the 'Modifications' section at the bottom.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →