Skip to content

Releases

OneLobby Unity 0.8.2

Choose a tag to compare

@github-actions github-actions released this 17 Nov 21:46

OneLobby 0.8.2: npm onelobby 0.8.2, NuGet OneLobby.* 0.8.2, and this Unity package. create-onelobby stays at 0.2.0.

Unity install: Package Manager > Add package from tarball, or put the .tgz in Packages/ and reference it as file:com.onelobby.unity-0.8.2.tgz in manifest.json. Natives for Windows, Linux, macOS and Android are included.

Same library as 0.8.0. No runtime change in any client; upgrading is optional. 0.8.1 was tagged but never published: its release workflow stopped before any upload. 0.8.2 is 0.8.1 with that fixed.

Releases

  • One release workflow: a v<version> tag builds, tests and packs everything in a read-only job, then publishes npm and NuGet with trusted publishing (no stored tokens) and creates this Unity release. It replaces the separate npm, create-onelobby and NuGet workflows and their per-package tags.
  • Release notes now live in docs/releases/<version>.md.

Fixed

  • The release workflow no longer sets a VERSION environment variable: MSBuild read it as the signaling hub's version, which broke the Unity package build.

Tests

  • Settings test fixtures use a .test host and a CI-style home folder.

OneLobby Unity 0.8.0

Choose a tag to compare

@ParkerTonra ParkerTonra released this 17 Nov 15:16

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# OneLobbyMenu add-on, and the engine-free MenuModel in OneLobby.Core: host, join by code, browse, room screen and start. StartOnHost and a cancelable BeforeHost for 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 carried bit 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; --into for an existing project, including games that already have multiplayer; update re-vendors the add-on (guarded by PIN.json); verify runs a one-command proof; --recommend picks 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).

OneLobby Unity 0.7.1

Choose a tag to compare

@ParkerTonra ParkerTonra released this 15 Nov 04:06

OneLobby 0.7.1: npm onelobby 0.7.1, create-onelobby 0.1.3, NuGet OneLobby.* 0.7.1, 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.7.1.tgz in manifest.json. Natives for Windows, Linux, macOS and Android are included.

New: TURN for Direct mode (all clients)

  • Host and joiner take ICE servers with TURN logins: IceServers / JoinDirectOptions in C#, iceServers in JS, ice_servers in GDScript. The host's entries reach every joiner through the hub's welcome, and a joiner can add its own.
  • Relay-only really forces the relay: the link sends and accepts only relay candidates.
  • TURN login helpers for coturn shared-secret relays: TurnLogin in C#, turnLogin() / turnCredential() in JS, OneLobbyTurn in GDScript.
  • When a TURN entry is set, a link that does not get ready in half the ready timeout retries once relay-only (GDScript joins JS and C#; C# now does it in Direct mode too).

Fixed

  • ice_failed now says what to try next: add a relay (TURN), check that the relay is reachable, or port-forward on the host.
  • Relay-only with no TURN entry fails at once with ice_failed instead of waiting out the ready timeout.

Docs

  • New recipe docs/recipes/turn.md: bring your own TURN (coturn config, hosted providers), plus a template Worker that mints short-lived logins so no long-lived secret ships in a game build.
  • Godot reaches TURN over UDP only.

OneLobby Unity 0.7.0

Choose a tag to compare

@ParkerTonra ParkerTonra released this 15 Nov 02:19

OneLobby 0.7.0: npm onelobby 0.7.0, create-onelobby 0.1.2, NuGet OneLobby.* 0.7.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.7.0.tgz in manifest.json. Natives for Windows, Linux, macOS and Android are included.

New

  • Mid-session rename on every hub (server and direct host): RenameAsync / PeerRenamed in C#, rename() and the peerRenamed event in JS, lobby.rename() and peer_renamed in GDScript. Old hubs refuse it cleanly.
  • GDScript: leave_and_flush() keeps links open briefly after the leave goes out, so the other side sees the goodbye before the close.
  • All clients: a relay that never connected is skipped after 4 failed dials while another relay is up (relays.deadRelayDials).
  • Unity: build-unity-package gains -Out / --out read-only packing.

Fixed

  • A send on a channel that has already closed is dropped without an engine error, and the link counts as closed from then on (GDScript).
  • Flush-then-leave on Linux delivers every queued reliable message.
  • ice_failed keeps the link trace in error.data only (it holds local ICE addresses).
  • Test hardening: Nostr end-to-end waits, C# native-library fail-fast, deflated-snapshot test timing.

Breaking (GDScript)

  • Inner classes are now prefixed: OneLobbyTransport.Socket / .Link are OLSocket / OLLink.

Docs

  • Exporting section; how to close a lobby to new players (lateJoin: false, or approve joins with your own flag).

OneLobby Unity 0.6.0

Choose a tag to compare

@ParkerTonra ParkerTonra released this 28 Oct 23:24

Unity package for OneLobby 0.6.0 (Windows, Linux, macOS, Android natives). Install: Package Manager > Add package from tarball, or put the .tgz in Packages/ and reference it as file:com.onelobby.unity-0.6.0.tgz in manifest.json.