Get started with Moderation
Note: Before you get started with Unity Moderation, make sure you meet all the requirements.
You can get started with Unity Moderation by following the instructions below.
- Link your project with the Unity Cloud Dashboard.
- Activate Unity Moderation for your project.
- Import the Moderation SDK.
- Initialize Unity services.
Activate Unity Moderation for your project
To get started with Moderation, reach out to the Moderation support team to enable it in your project.
- Log into the Unity Cloud Dashboard.
- Select the Organization for which Unity Moderation is enabled.
- Select the Products tab from the sidebar.
- Under Community, go to Moderation and select Launch.
Import the Moderation SDK
Once you've linked your project to the Unity Cloud Dashboard, you can install the latest version of the Moderation package.
Use the Unity Package Manager to import the Moderation package in the Unity Editor.
The Modersation package is in Preview, you need to enable preview packages to see it in the Package Manager. To enable Preview packages in the Unity Editor, select Edit > Project Setting > Package Manager > Advanced Settings.
To use the Moderation SDK you will need additional Unity packages. Some are mandatory requirements while others are optional requirements:
|Type of requirement
|The Unity Moderation package.
|To initialize Unity services ecosystem.
|2.1.1 or 2.5.0-pre.3 (If you require Player Names.)
|To authenticate players in UGS services.
|This package enables the other packages to handle JSON formatted responses.
For information on the Authentication package, refer to the Authentication documentation.
Using Vivox in your application can provide additional details on incidents. With the Vivox package, you can gather channel data and events by including the player ID and channel IDs in the report.
|Type of requirement
|Using a Vivox v16.0.0 package or higher will allow Moderation to gather channel information to enrich incident reports in the Moderation dashboard.
Initialize Unity services
The Moderation SDK exposes a singleton instance of a class that can be used to report players. To use it, initialize Unity Services and authenticate your players with Unity Authentication Service (UAS).
The following code is an example of how to authenticate a user using UAS:
async void Start()
// game code.
Debug.Log("Player was not signed in successfully?");