Documentation

Support

Multiplay Hosting

Multiplay Hosting

Game engine best practices

Learn best practices for integrating specific game engines with Multiplay Hosting.
Read time 1 minuteLast updated 2 months ago

Warning
We are winding down our direct support for the Unity Multiplay Game Server Hosting Service. Unity will support the Multiplay Game Server Hosting Service through March 31, 2026. To ensure continuity for live titles, we are licensing our Multiplay Game Server Hosting software to Rocket Science Group. Learn more about them here.
Use the following guidance to get the most out of Multiplay Hosting when working with specific game engines.

Set target frame rate in Unity

To avoid causing your server to use 100% of your CPU, the recommended best practice is to set the target frame rate for a Unity server. To set the target frame rate, add the following code into your server build: C#
using System.Collections;using System.Collections.Generic;using UnityEngine;public class TargetFPS : MonoBehaviour{ public int target = 60; void Awake() { QualitySettings.vSyncCount = 0; Application.targetFrameRate = target; }}