Integrate with Unity Editor

The Remote Config authoring module allows you to optionally author and modify Remote Config key/values directly within the Unity Editor. You can then upload those remote configurations from the Unity Editor to the Dashboard by using the Deployment package.

Authoring of Remote Config configurations in the Unity Editor is only supported in Unity 2021.3 and above.

Prerequisites

To use Remote Config file configurations in the Unity Editor, you must first install the Remote Config SDK and link your Unity Gaming Services project to the Unity Editor.

Link your Unity Gaming Services project with the Unity Editor. You can find your UGS project ID in the Unity Dashboard.

  1. In Unity Editor, select Edit > Project Settings > Services.
  2. Link your project.
  • If your project doesn't have a Unity project ID:
    1. Select Create a Unity Project ID > Organizations, then select an organization from the dropdown menu.
    2. Select Create project ID.
  • If you have an existing Unity project ID:
    1. Select Use an existing Unity project ID.
    2. Select an organization and a project from the dropdown menus.
    3. Select Link project ID.

Your Unity Project ID appears, and the project is now linked to Unity services. You can also access your project ID in a Unity Editor script using UnityEditor.CloudProjectSettings.projectId.

Install required packages

To create Remote Config file configurations within the Editor, you must install the following packages:

  • Deployment
  • Remote Config

Check Unity - Manual: Package Manager window to familiarize yourself with the Unity Package Manager interface.

To install these packages and add them to your list of available packages:

  1. From the Unity Editor’s Package Manager window, select + (add) > Add package by name….
  2. Enter com.unity.services.deployment.
  3. Select Add.
  4. Repeat these steps for com.unity.remote-config.

Authoring within the Unity Editor

The Remote Config Authoring module allows you to create, edit, and deploy Remote Config file configurations directly within the Unity Editor.

Create a configuration

Follow these steps to create a Remote Config file configuration using the Remote Config Authoring module:

  1. In the Unity Editor, right-click in the Project window, then select Create > Services > Remote Config.
  2. Name the configuration.
  3. Press Enter.

The new configuration is now visible in the Project window, and in the Deployment window, accessible by selecting Window > Deployment.

For more information on how to create and modify Remote Config files, refer to Remote Config file.

Edit a configuration

To edit an existing Remote Config file configuration, double-click the file in the Project window. Remote Config configurations are in .json format and use the .rc file extension.

Deploy a configuration

You can deploy a configuration through the Deployment window. For more information, refer to Deployment package.

Deployment window

The Deployment window is a core feature of the Deployment package. It allows all services to have a single cohesive interface for deployment needs, and allows you to upload cloud assets to their respective cloud services.

For more information, refer to Deployment package.