Changelog
Version history for NetCrafter Relay.
2.0.0
Version 2.0.0#
NetCrafter Relay now includes Live voice and video (WebRTC). Relay's code generation and generated-code API are unchanged.
Breaking changes
- Server update needed for Live. Re-run the Server Setup Wizard against your server once and choose Update / redeploy (same port, credentials and database). Game sessions keep working on a 1.x server; Live needs the 2.0 rendezvous service.
RelaySettingshas a new field,stripVideoRtxWorkaround(existing assets get the default automatically).
Added
- Live voice & video: 1-to-1 video calls (
NetCrafterLiveConnection) and one-host-to-many broadcasts (NetCrafterLiveBroadcast). Optional — enabled by installingcom.unity.webrtc3.0.0+; until then the Live code isn't compiled. - One rendezvous service for game join codes and Live signalling.
NetCrafterLiveRelayLink: drop-in voice/video for any Relay game, reusing the game's join code. NewRelayJoinedevent (payloadRelayJoinInfo) on joiners, the counterpart ofRelayHosting.- Settings → Live (Voice & Video) tab: one-click WebRTC install and demo buttons. Live settings box in Relay Settings.
- Every demo has an Exit button (top-right; quits the app, or stops Play mode in the Editor). Esc frees a captured mouse cursor so it can be clicked; click back into the game to capture it again. Reusable component: NetCrafter Relay → Examples → Demo Exit Button.
- Tools → Pivec Labs → NetCrafter Relay Examples: open any of the ten demo scenes in one click. (The old “Create NetCrafter Relay Demo Scene” item is gone — the readme scene ships ready-made.)
- Four Live demos: 1-to-1 Call, Host Broadcast, TurnBased + Video Chat and Character + Broadcast Screen.
Fixed
- Co-op: pickup particles no longer show pink.
- Racing: every car now gets its own colour — the colour component was missing from the cars, and the ARCADE car's body shader ignores tints, so the demo swaps between the car's five colour materials instead.
- Demos: a blank player name now becomes
Player###(random) instead of everyone being “Player”; the in-game join code moved down a little to make room for the Exit button. - Racing: each player gets a free spawn slot, even after players leave and rejoin, and the local car is placed on it reliably.
- Racing: remote cars' wheels spin and steer as they drive, and remote cars no longer trail behind the real car.
- Racing: remote cars now face the right way and appear where the other player really is.
- Slower PCs no longer fall behind: network packets are now received on a background thread instead of roughly one per frame.
- Host leaving: in the Character, Chat and Co-op demos, players return to the lobby with a message when the host leaves.
- Smooth remote movement: remote objects glide to received positions and rotations instead of jumping (new Sync Binding options: Smooth Remote Motion, Smoothing, Snap Distance). Movement updates are capped at 30 per second.
- Leaving is instant: players who quit are removed at once (previously after 15 seconds).
- A player whose game briefly froze keeps the same player id when it resumes.
- All demos: you can try again after a wrong join code.
- Relay keeps the game running while its window is unfocused.
- All demos: the join code stays on screen during play.
- Sync: on joiners, the host's character could stop receiving one sync rule (in the Character demo, its position) because a local binding's re-configuration removed the host's registration. Registrations are now only removed by the binding that owns them.
- Server installer: re-running it over an existing install failed at the port check (its own service held the port), and an update left the old rendezvous process running. Both fixed.
- Chat, Co-op, Racing, Turn-Based and VR demos: their connection prefabs pointed at missing Relay Settings, so they couldn't connect even after the settings were filled in.
- Character demo: no compile errors when Unity's Starter Assets isn't imported; updated for the latest Starter Assets (removed references to assets only in older versions; footstep/landing sounds work again).
- Character demo scene: environment reflections pointed at a missing cubemap.
- Turn-Based demo: the scene's connection manager used the Character demo's Relay Settings instead of its own Definition's, so filling in TurnBasedDemo's settings had no effect.
- Racing demo: its UI event system came from Unity's Starter Assets; it's now a plain EventSystem, so Racing only needs its car and track packages.
Upgrading from 1.x
- Back up your project, then import 2.0 over your existing install. No 1.x files are removed or renamed; your own Definitions are kept.
- Update your server: Server Setup Wizard → Update / redeploy.
- Optional: turn on Live from Settings → Live (Voice & Video).
- Regenerate your own Definitions (the shipped demos are already done). Several 2.0 fixes live in each Definition's generated
RelayConnectionManager: players who quit are removed at once instead of after 15 seconds, a player whose game briefly froze keeps their id, unfocused windows keep running, and voice/video can join with the game's code (RelayJoined). For each of your Definitions: open Tools → Pivec Labs → NetCrafter Relay, pick it under Preset Definitions, then Build Code → Generate All Files. Keep Overwrite Existing Files on (Project Settings tab; it's on by default), or your old files are kept. Anything you hand-edited underGenerated/is replaced, as with every build. Everything else (remote smoothing, faster packet receiving on slower PCs, the sync fix for the host's player on joiners) is in the package's own scripts and applies as soon as you import. - Optional, in your own game code: the demos now let players try again after a wrong join code, send joiners back to the lobby when the host leaves, and keep the join code on screen during play. That's demo code, not part of Relay, so your game only gets it if you add it; the tutorials show how (for example the Chat tutorial's
OnJoinClickedandOnJoinerDetectedHostDisconnected).
1.2.0
Version 1.2.0#
Breaking changes
- Removed OpenWorlds branding; product rebranded to Pivec Labs. Namespaces are renamed from
OpenWorlds.*toPivecLabs.*(for exampleOpenWorlds.NetCrafterRelay→PivecLabs.NetCrafterRelay,OpenWorlds.Generated→PivecLabs.Generated), the asset folder moves fromAssets/OpenWorlds/toAssets/PivecLabs/, and the assembly definitions are renamed toPivecLabs.NetCrafterRelay.RuntimeandPivecLabs.NetCrafterRelay.Editor. Updateusingstatements, assembly references and any paths in your own scripts when upgrading.
Added
- Turn-based tutorial
- VR tutorial
- Example settings included
1.1.0
Version 1.1.0#
- Added a third-party asset to the Racing tutorial
- Character tutorial updated to use Unity Starter Assets
- Minor fixes
1.0.0
Version 1.0.0#
- Initial release