Эволюция инструментов Unity для многопользовательских игр
The evolution of Unity tools for multiplayer games
Unity provides a number of multiplayer development tools and solutions. These include the Netcode for GameObjects and Netcode for Entities frameworks, alongside Unity Gaming Services (UGS), which features Game Server Hosting (Multiplay) and Vivox for voice and text chat. Whether you’re building a casual co-op or an open-world MMO, Unity can help you hit the ground running with multiplayer development. Unity 6 brings new and improved features for multiplayer games that make integration, iteration, and deployment more reliable and faster than ever. Here’s a brief look at what’s new in Unity 6 for multiplayer games: —
Multiplayer Center: Available as a core package in Unity 6, the Multiplayer Center makes it easier to set up and develop multiplayer games. New prompts and workflows use parameters and requirements for your game to suggest relevant packages and services before generating dynamic templates you can use to start your project.
Multiplayer widgets: Multiplayer widgets help you to integrate Unity Gaming Services (UGS) into your multiplayer game. You can access the widgets as a standalone package, or from the Multiplayer Center.
Multiplayer Tools package: This package improves workflows for multiplayer game development in Unity, performance with Netcode for GameObjects 2.0, and adds support for Distributed Authority.
Multiplayer Play Mode: This package streamlines your process for validating gameplay by launching up to four independent, lightweight editor processes from the same assets on disk. For the most ambitious server-hosted projects, Play Mode Scenarios allows you
to configure deployment steps, including the build of your dedicated server, and its upload straight to your Multiplay Hosting servers. —
Distributed Authority (beta): Distributed Authority, in beta as of November 2024, is available to use with Netcode for GameObjects. This package gives clients distributed ownership of authority over spawned NetcodeObjects during a game session. The netcode simulation workload is distributed across clients, while the network state is coordinated through a high-performance cloud backend which Unity provides.
Multiplayer Services SDK: This SDK is a one-stop solution for adding multiplayer elements to a game developed in Unity 6. The Unity Gaming Services (UGS) Multiplayer services like Relay, Matchmaker, and more, powers these capabilities to define how groups of players interact in your games through Sessions, which work with either the Netcode for GameObjects or the Netcode for Entities networking libraries.
Check out these resources to learn more about Unity 6 multiplayer solutions: —
Unite 2024: Accelerating the creation of the your competitive multiplayer game
Unite 2024: Going multiplayer: How to help your studio and game thrive
Unity Manual: New in Multiplayer in Unity 6
Unity 6 is here: See what’s new
Unity’s suite of tools supports the entire multiplayer game development lifecycle, from concept and prototyping to launch and ongoing operations. Work entirely within the Unity ecosystem or select the tools and services that best match the needs of your team.