About Dedicated Server package
The Dedicated Server package contains optimizations and workflow improvements for developing Dedicated Server platform. For example, you can use Dedicated Server package to mark all render components of a scene so they are present only on the Standalone builds and removed in the Dedicated Server ones.
Note: This experimental package is under active development, it is meant to be used with the purpose of workflow testing and providing feedback.
Installation
To install this package, follow the instructions in the Package Manager documentation.
Requirements
This version of Dedicated Server is compatible with the following versions of the Unity Editor:
- 2023.3 and later
- Dedicated Server Build Support module installed.
Features list
- CLI Arguments Defaults: Provides an UI in the build window for defining default values for the CLI arguments used to launch the game server.
- Multiplayer Roles: Allows to decide which multiplayer role (Client, Server) to use in each build target.
- Content Selection: Provides UI and API for selecting which content (GameObjects, Components) should be present/removed in the different multiplayer roles.
- Automatic Selection: Provides UI and API for selecting which component types should be automatically removed in the different multiplayer roles.
- Safety Checks: Activates warnings that helps detecting potential null reference exceptions caused by stripping objects for a multiplayer role.
Known Limitations
Dedicated Server package includes the following known limitations in its experimental version:
- When using the Entities package, the Game Objects and Components selection will not affect the entities and components baking of subscenes.