Repository navigation
OneLobby Unity 0.7.0
·
340 commits
to main
since this release
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/PeerRenamedin C#,rename()and thepeerRenamedevent in JS,lobby.rename()andpeer_renamedin 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-packagegains-Out/--outread-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_failedkeeps the link trace inerror.dataonly (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/.LinkareOLSocket/OLLink.
Docs
- Exporting section; how to close a lobby to new players (
lateJoin: false, or approve joins with your own flag).