Version: 2022.2
Language : English
Remote Settings scripting
Unity Analytics A/B Testing

Testing Remote Settings

Note: Unity Remote Config is now available as a preview packageA preview* package is in development and not yet ready for production. A package in preview might be at any stage of development, from the initial stages to near completion.
See in Glossary. Remote Config is an improved offering that allows you to change the behavior and appearance of your game without requiring a new binary. You can remotely enable or disable features, change the specifics of your game to target specific audiences, or run special events by scheduling new content releases.*

While you can view the keys and values of both configurations in the Editor, Unity only loads one configuration at runtime. Unity uses the Development configuration in Play mode and in any builds created with the Development BuildA development build includes debug symbols and enables the Profiler. More info
See in Glossary
box checked on the Build Settings window. Unity uses the Release configuration in non-development builds.

Before testing Remote Settings, you must first create the settings and then either use the Remote Settings component or write the code necessary to map the settings to variables in your game or application.

To test with the Development configuration, click the Play button in the Editor or:

  1. Go to File > Build Settings to open the Build Settings window.

  2. Check the Development Build box.

  3. Click the Build And Run button.

To test with the Release configuration:

  1. Go to File > Build Settings to open the Build Settings window.

  2. Uncheck the Development Build box.

  3. Click the Build And Run button.

Clearing Local Settings

To test whether your game behaves as expected on first run when no local settings are present, you can clear the Application.persistentDataPath directory. If you are testing in the Unity Editor, you must exit from the Editor before clearing the directory.


  • 2017–05–30 Page published

  • 2018–08–13 - Service compatible with Unity 5.5 onwards at this date but version compatibility may be subject to change.

  • New feature in 2017.1

Remote Settings scripting
Unity Analytics A/B Testing
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961