What’s new for multiplayer networking in Unity


Here’s what’s new in this Oct 21st release and how each solution can be used to facilitate multiplayer game creation. 

 

Netcode for GameObjects 1.0.0-pre

The Netcode for GameObjects 1.0.0-pre release has an extended feature set that enables customers to accelerate the development of small-scale cooperative games. Eager and savvy developers may choose to leverage the MIT-licensed and freely available source code to extend or modify the provided components to their needs. 

Here’s what we’ve worked on for this prerelease: 

We will continue working to strengthen our offering and support for the construction and operation of small-scale, cooperative games in future releases. We will also be expanding  our focus to include support for larger scale, lower-latency, competitive type games in the future.

Install Netcode for GameObjects here

 

Unity Transport UTP 1.0.0-pre

Unity Transport is a gaming-specific wrapper around UDP that works both for DOTS and GameObjects netcode. Among other improvements, this pre-release includes support for DTLS and the Unity Relay protocol – which enables creators to communicate with our new Relay service.

Installation instructions for Unity Transport can be found here.

 

Unity Transport Adapter for GameObjects 1.0.0-pre

The Unity Transport Adapter is a required package for having Netcode for GameObjects work with the Unity Transport.

 

Network profiler 

The new network profiler allows users to inspect detailed information about the network activity from Netcode for GameObjects. Now you can analyze both incoming and outgoing message-related activity. 

When Netcode for GameObjects is installed and the multiplayer tools package is added, the new network profiler module can be found inside the Unity Profiler.

 

Relay (beta) 

Relay allows players to connect and enjoy immersive multiplayer gaming experiences – all without needing a dedicated game server. The Relay service also leverages Unity Transport, enabling easy and secure peer-to-peer communication between players.

Get it here

 

Lobby (beta) 

Lobby allows your players to connect before or during a game session. Players create public lobbies using simple game attributes which other players can then search, discover, and join. Invite-only lobbies also allow players to create private spaces for select participants only.

Get it here

 

Boss Room

The Boss Room RPG co-op sample is built to show developers the fundamental flow of multiplayer game development and is now in prerelease. Boss Room features eight playable characters in four unique classes, enemies, and a boss with unique abilities. Assets and code are available so anyone can learn more about networking a multiplayer game. This update also features support for the new Unity Relay. 

Get Boss Room here



Source link

More To Explore

Share on facebook
Share on twitter
Share on linkedin
Share on email