Repository navigation
OneLobby Unity 0.8.0
OneLobby 0.8.0: npm onelobby 0.8.0, create-onelobby 0.2.0, NuGet OneLobby.* 0.8.0, and this Unity package.
Unity install: Package Manager > Add package from tarball, or put the .tgz in Packages/ and reference it as file:com.onelobby.unity-0.8.0.tgz in manifest.json. Natives for Windows, Linux, macOS and Android are included.
New: drop-in multiplayer menu
- Unity
OneLobbyMenu(UI Toolkit, built in code), Godot C#OneLobbyMenuadd-on, and the engine-freeMenuModelin OneLobby.Core: host, join by code, browse, room screen and start.StartOnHostand a cancelableBeforeHostfor games that host from their own world. - Settings store per engine (C# client, Unity PlayerPrefs, Godot
user://).
New: rooms
- Lobby passwords, spectator slots, player-id bans and kick codes on every route (hub and Direct), plus room options and player data.
- Text chat, shared pause and lockstep helpers for GDScript.
New: networked player and replication
- A networked player layer in JS, C#, Unity, Godot C# and GDScript: the host draws every player, joiners predict and reconcile, and a stall or a long host hitch leaves no lasting offset.
- Replication sessions with reliable keyframes, adaptive render delay, per-peer byte counters and a debug view; GDScript gains the Reconciler, PredictionSmoother and HistoryRing helpers.
- Host authority carries on when the host stalls (the
carriedbit in the spec).
New: LAN discovery
- Find games on the same network: wire spec and vectors, GDScript
OneLobbyLan, a LAN games list on the C# menu's Browse screen.
New: diagnostics
diagnose(), a masked net log (ONELOBBY_NETLOG), a connection check and a joiner report to the host, in JS, C# and GDScript, with shared vectors.
create-onelobby 0.2.0
- Templates for Godot GDScript, Godot C# and Unity;
--intofor an existing project, including games that already have multiplayer;updatere-vendors the add-on (guarded by PIN.json);verifyruns a one-command proof;--recommendpicks an architecture.
Fixed
- Local runs bind 127.0.0.1 and use no ICE servers, and a loopback Direct host puts 127.0.0.1 in its join code.
- A data-channel send to a peer that is gone closes the link instead of throwing (JS).
- Relay-only is enforced in OneLobby.Godot with the same candidate filter as OneLobby.DataChannel.
- The silent-host lockstep clock starts when the game starts, not at join (GDScript).