|
Kanda Foundation 0.2.0
|
Since UGS is still a maturing product, software integrations other than the Unity Editor and Unity Cloud dashboards are lacking. For this reason, we recommend setting up UGS infrastructure manually for the time being.
In the future, once these integrations reach a point of maturation, we may start managing setup of these resources from Kanda Cloud infrastructure code.
Linking your project to Unity Cloud enables access to various Unity services, including multiplayer hosting.
Project Settings > Services.Unity Project ID, click the button to link this project to Unity Cloud.A environment allows you to safely test new server builds and service configurations before deploying to production.
Project Settings > Services > Environments.staging environment doesn't exist, click Manage environments to add it in Unity Cloud.staging from the dropdown to set it as the active environment.development environment.Creating a dedicated server build is a prerequisite for setting up Game Server Hosting.
Build Settings.Dedicated Server platform with Linux as the Target Platform.Build and name the server executable (default name is KandaServer.x86_64).A Game Server Hosting (GSH) build is required to deploy your game server to Unity's cloud infrastructure.
Game Server Hosting and select Builds.Create build and set the following configuration:MainLinuxDirect file uploadNext and upload initial dedicated server build files.Next and optionally select a name for the initial build version.FinishBuild configurations define how your game server should be run and scaled in the cloud.
Game Server Hosting and select Build Configurations.Create build configuration and set the following configuration:MainMainKandaServer.x86_64)SQPTrue-port $$port$$ -queryport $$query_port$$ -logFile $$log_dir$$/Engine.logNext and optionally set any custom configuration variables you need.Finish.A fleet is a group of server instances that run your game server build.
Game Server Hosting and select Fleets.Create fleet and set the following configuration:MainLinuxMainNext and set the following configuration:Europe)0 for minimal cost or 1 to prevent cold starts10)Next and set the following configuration:4Finish.The scaling and density settings for the fleet may be tweaked later using the GSH dashboard.
To configure the Unity Editor and Kanda Cloud to interact with Unity Services APIs, you need a Service Account.
Create one following Unity Service Account documentation, ensuring it has the following roles:
The Kanda Cloud team will need various information about your Unity Services setup to configure cloud integrations. Ask the team for the most up-to-date information. At the time of writing, the information required is: