Description
BGDatabase standalone runtime DLL, which can be used in standalone NET projects or inside game engines, which support managed NET DLL code execution, Net 6.0 support is required (see an example project for NET enabled Godot below). Some limitations apply (see the list below). The Editor part (BGDatabase window GUI inside Unity Editor) can not be run outside Unity Editor.
Setup
Place BGDatabaseStandalone.dll to your project and make sure it's referenced in your csproj file.
Godot example project
An example project for Net enabled Godot 4.1, targeting Windows (Android support for C# projects should be added to Godot 4.2) can be downloaded here This is an adaptation of our 2D example project for Unity. Database file is used without any change and one change is made to C# classes, generated by CodeGen addon- "UnityEngine." string is replaced with empty string (this change is required only if you use Unity structs or asset fields). To make Godot include database file in build, we had to explicitly add it under "Resources" tab
List of limitations
Feature | Supported | Comments |
---|---|---|
Data binding | No | It relies on Unity API |
MonoBehaviour generated classes | No | It relies on Unity API |
Database loaders | Partial | Resources and StreamingAssets Unity loaders do not work, but you can use custom loader to load database (see Godot example project) |
Unity assets fields | Partial | Direct loading is not supported, however you can use asset paths, stored inside database to load assets (see how it works in Godot example project) |
LiveUpdate addon | Partial | Not working currently, but probably it's possible to implement it if somebody would need it. |
Plugins | Partial | All plugins, relying on Unity API do not work |
Graph editor | Partial | All nodes, relying on Unity API do not work |
Releases
Click to see all releases
Release date | Download |
---|---|
Nov 8, 2024 | based on 1.8.14 |
Nov 2, 2024 | based on 1.8.13 |
Jul 19, 2024 | based on 1.8.12 |
Jun 02, 2024 | based on 1.8.11 |
Mar 23, 2024 | based on 1.8.10 |
Feb 09, 2024 | based on 1.8.9 |
Dec 16, 2023 | based on 1.8.8 |
Nov 11, 2023 | based on 1.8.7 |
Oct, 2023 | 0.9 Beta (based on BGDatabase version 1.8.6) |