Remote Config files

Creation

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

File Format

For the files to be properly parsed they must respect the JSON schema.

Example

The following example contains these keys:

  • A string key name
  • An long key id
  • A JSON key user_schema
{
  "$schema": "https://ugs-config-schemas.unity3d.com/v1/remote-config.schema.json",
  "entries": {
    "name": "example_name",
    "id": "10000000000",
    "user_schema": {
        "user_id_key": "user_id",
        "user_name_key": "user_name"
    }
  },
  "types": {
      "id": "LONG"
  }
}

File Deployment

When you've created your Remote Config files, you can deploy them to your chosen environment.

To deploy a file:

  1. In the Unity Editor, select Services > Deployment. For Unity Versions earlier than 2022, select Window > Deployment. The Deployment window displays your local Remote Config files.
  2. Select your chosen Remote Config files and select Deploy Selected.

For more information on working with the Deployment window, refer to Deployment package.