Loading lessons...
Unity Building Blocks
Unity Building Blocks
To fast-track multiplayer game setups and LiveOps architectures, Unity introduces the Building Blocks workflow.
What are Building Blocks?
Building Blocks are pre-configured packages, service connections, and sample code blocks designed to quickly boot-up multiplayer systems:
- They are accessible in the Editor via Window -> Multiplayer -> Building Blocks.
- Rather than installing separate packages and wiring scripts together by hand, you add modular blocks (e.g. Lobby list block, Netcode connection block, Vivox voice chat block).
Core Blocks
Common blocks include:
- Netcode for GameObjects (NGO) block: Automatically spawns network managers and client connection prefabs.
- Vivox Voice block: Instantiates audio channels to enable real-time voice and text chat among matched players.
- Relay block: Integrates Unity Relay to bypass firewall and NAT router configurations for host players automatically.
TL;DR
- Building Blocks speed up multiplayer game initialization inside the editor.
- Open the Building Blocks window via Window -> Multiplayer -> Building Blocks.
- Blocks automatically drag in necessary packages, configurations, and code.
- Works with NGO, Vivox, and Relay.