Set up the Multiplay Hosting service
Realms extends Multiplay Hosting; as a result, you must configure the standalone Unity Multiplay Hosting service that Realms uses to host its worlds. This section provides the high-level steps for getting started. Refer to Get started with Multiplay Hosting for more detailed documentation.
This section describes how to enable Multiplay Hosting, create a build, create a build configuration, and create a fleet to use with Realms.
- In the Unity Cloud Dashboard, open Realms.
- From this point, you can select Setup guide to create a build, build configuration, and fleet, or you can manually create these resources by selecting the respective sections from the sidebar.
- Create a Multiplay Hosting build containing the dedicated server build files you created with the Realms sample. Ensure you include all build files and folders except for those marked DoNotShip. Files can be uploaded here: Multiplay Hosting > Builds > [build name] > Files > Update files.
- Create a build configuration using the build you uploaded. The launch parameters must be interpreted by your game server. Here's an example of a Unity game server integrated with the Multiplay Hosting SDK:
- Set the Query Type to SQP.
- Use the following for the Launch parameters:
-port $$port$$ -logFile $$log_dir$$/Engine.log
- Create a fleet using the build configuration you just created. For now, you create a single region (of your choice) with a minimum available value of one server.