Unity Editor Plugin

SQLite databases, built for Unity

Design schemas visually, query data with type-safe C#, and ship read-only databases straight to your players. All from inside the Unity Editor.

Everything you need for game data

A complete SQLite toolkit, purpose-built for Unity workflows.

Visual Schema Editor

Create tables, define columns, set types and constraints — all from a dedicated editor window. No SQL required.

Type-Safe Query Builder

Chain .Where(), .OrderBy(), .Limit() calls and get results mapped directly to your C# classes. Full IntelliSense support.

ERD Diagrams

Visualize your entire database schema with an auto-generated entity-relationship diagram. See tables, columns, and foreign keys at a glance.

Schema Validation

Catch naming issues, missing primary keys, and type mismatches before they become runtime bugs. Built-in validation rules.

VCS-Friendly Export

Export your schema as human-readable SQL files that diff cleanly in Git, Plastic SCM, or any version control system.

Lean Dependencies

Bundles the open-source gilzoide/sqlite-net native plugin. iOS and WebGL use Unity's built-in SQLite — no extra native lib needed. Addressables support is fully optional.

Clean, expressive API

Query your game data with a fluent C# builder — no raw SQL strings.

Query enemies by level
var enemies = DB.Table("enemies")    .Where("level", Op.Gt, 5)    .OrderBy("level")    .Limit(10)    .Get<EnemyData>(); foreach (var e in enemies)    Debug.Log($"{e.Name} (Lv.{e.Level})");
Find a single item by ID
// One-liner: find by primary keyvar sword = DB.Find<ItemData>(    "items", 42); // Typed query with generated helpersvar rares = Items.Query()    .Where("rarity", Op.Gte, 4)    .Get();

Ready to try GameSchema?

Drop the plugin into your Unity project and start building your game database in minutes.