DatabaseUrl
Where the orchestrator keeps the control plane and saved entities, as one string (NebulaConfig.DatabaseUrl, -nebula-database).
Nebula · Packages/com.1by3.nebula/Runtime/Core/DatabaseUrl.cspublic readonly struct DatabaseUrlWhere the orchestrator keeps the control plane and saved entities, as one string (NebulaConfig.DatabaseUrl, -nebula-database).
sqlite:<file>: a SQLite database file (standalone orchestrator; the default for a local mesh).postgres://user:password@host:port/database(orpostgresql://, or aHost=...;connection string): a PostgreSQL database (standalone orchestrator; for a deployed mesh).file:<folder>: plain files in a folder (the Unity orchestrator, which carries no database driver).memory: nothing survives the process.
Fields
Scheme
public readonly string Scheme;sqlite, postgres, file or memory.
Target
public readonly string Target;The file, folder or connection string the scheme applies to ("" for memory).
Display
public readonly string Display;What was parsed, for logs, with a password masked.
Methods
Parse
public static DatabaseUrl Parse(string url, string fallback);| Parameter | Description |
|---|---|
url | The configured value; empty or null means fallback. |
fallback | What an empty value means for this process, e.g. sqlite:/opt/nebula/data/nebula.db. |
Throws ArgumentException: The value has no scheme this build understands.
ToString
public override string ToString();CrossIslandJoint
A physics constraint Nebula cannot simulate symmetrically: a Joint or a child ArticulationBody whose two bodies belong to networked entities in different containers, so that two workers can end up each owning one side.
DotEnv
Reads and writes dotenv files (.env.nebula, the file NEBULA_ENV_FILE names, nebula env pull output), and holds the rules for the names of the environment variables a game gives its workers.