Realms limitations
The Realms service has the following limitations:
- You can only access roaming databases with a Multiplay Hosting token.
- Roaming databases only work with Unity Editor version 2021 LTS or later.
- Custom attributes only support strings.
While there is no limit to the number of realms that can be created, querying realms has limitations. Specifically, the function only examines the first 1000 realms and returns a maximum of 50 per call through pagination.
Each realm has the following limits:
Description | Limit |
---|---|
Name minimum length (in characters) | 1 |
Name maximum length (in characters) | 255 |
Minimum number for Maximum Connected Players | 1 |
Maximum number for Maximum Connected Players | 100 |
Number of custom attributes | 10 |
Each custom attribute has the following limits:
Description | Limit |
---|---|
Minimum length (in characters) | 1 |
Maximum length (in characters) | 255 |
Each environment has the following limits:
Description | Limit |
---|---|
Number of realms | 1000 |
The project as a whole has the following limits:
Description | Limit |
---|---|
Number of realms created | 1000 |
Number of realms queryable | 1000 |
Maximum number of realms per page | 50 |
Roaming Databases limitations
The Roaming Database service has the following limitations.
- Only one game server can access a roaming database at a time. However, multiple game servers can share a roaming database by taking turns accessing the data.
- Category names can't exceed 50 characters.
- There are no partial read or write operations; all read operations read an entire record, and all write operations replace an entire record.
The following sections contain additional limitations of roaming databases.
Record limits
Field | SDK type | DB type |
---|---|---|
key | string | TEXT |
value | byte[] | BLOB |
category | string | TEXT |
Database limits
Description | Limit |
---|---|
Number of records | 264 |
Number of categories | 264 |
Database file size | 500 MB |
Environment and project limits
Description | Limit |
---|---|
Number of databases per environment | Unlimited during the closed-beta release |
Number of databases per project | Unlimited during the closed-beta release |
Storage limits
Servers running on Multiplay Hosting share limited storage space on a provisioned machine in a fleet. The system installation, the size of the game server build, as well as the logs and temporary files created through the server's execution all consume storage space on a machine. Budget around 15 GB remaining space for other files such as the ones created by Roaming Databases. This total is shared among the game servers present on a machine. The actual number of servers on a machine is inferred by the usage settings defined in a build configuration.