finds.dev

gilzoide/unity-sqlite-net

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

View on GitHub

★ 276CMITupdated Apr 2026

// the take

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.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
276
Forks
40
Language
C
License
MIT
Last commit
13 Apr 2026

// nearby

If unity-sqlite-net isn't quite it.

All repos →