Description:
Data manager for Unity. Excel-like GUI. Relational database design. Runtime changes are auto-reverted just like Unity components values.
Features:
- Fast, In Memory, pure C# ( without SQL) database fully integrated into Unity 3D
- Configurable import/export from/to Excel/OpenOffice and Google Sheets (one limitation apply, see limitations section below for details)
- Integration with visual scripting tools: Unity Visual Scripting (Bolt), Unity Behaviour, Playmaker, Flow Canvas, Node Canvas, Behavior Designer, UNode, Game Creator.
- Powerful Code Generation
- Selective Save/Load during game session
- Around 90 different field types, including relations and nested tables.
Support for loading Unity assets from Resources and Addressables system - Data binders with UI Toolkit support
- Graph editor for calculated and action fields and graph binders
- Hook up any GameObject to table row by adding a special component or reference the row with a field
- Runtime data editor
- Ability to create your own custom field.
- 2-way and 3-way merge tools for multi-user environment with Plastic SCM integration
- Live update from Google sheets
- Support for modding with Modding addon
- Auto-import data from Excel file in Editor and at runtime (details)
- No runtime dependencies, DLL file size around 1Mb.
- Downloadable plug-ins and example projects
- Flexible event system
- Multithreading is partially supported with multithreading addon. Some restrictions apply. Read more here.
Limitations:
- BGDatabase is a client-side database, which runs inside Unity only. It can not be used in any server environment
- Asset does not support exporting to Google Sheets in runtime from multiple devices, here is why
- Database data is loaded fully into memory, so at some point the database size can become too big. For example, if database has 10 tables and each table has 50 000 rows and 10 int fields, it takes around 26Mb on hard drive and starts getting too big. Partitioning addon can mitigate this problem- but it's not a generic solution
Learning resources:
- GUI overview
- GUI tips and tricks
- How to use
- Code examples
- Basic 3D example project with text manual
- Basic 2D example project with video tutorial
- Advanced example project (Inventory system)
- API
News:
- 08/2022 BGDatabase v.1.7.9 New navigation system
- 05/2022 BGDatabase v.1.7.5 Views and view relations
- 12/2021 BGDatabase v.1.7.1 Many tables relational fields
- 06/2020 BGDatabase v.1.5.9 What is new?
- 03/2020 BGDatabase v.1.5.6 What is new?