Repository navigation
OneLobby Unity 0.7.1
·
331 commits
to main
since this release
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/JoinDirectOptionsin C#,iceServersin JS,ice_serversin 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:
TurnLoginin C#,turnLogin()/turnCredential()in JS,OneLobbyTurnin 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_failednow 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_failedinstead 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.