docs.unity.cn
    Show / Hide Table of Contents

    Unity Distribution Portal

    Overview

    Unity Distribution Portal (UDP) lets you distribute your Android games to multiple app stores through a single hub. UDP repacks your Android build with each store’s dedicated In-App Purchase SDK. You can manage all your store submissions from the UDP console.

    UDP package

    The UDP package contains an SDK for working with UDP. It also enables the UDP Settings window in the Unity Editor.

    You can use the UDP Settings window to:

    • Link your Unity project to the UDP client
    • Create a catalog of IAP products for your game
      For more flexibility, create your IAP products in the UDP console.

    Additionally, the UDP package provides:

    • A sample scene to help you get started with UDP
    • A Sandbox environment where you can test your game for UDP

    UDP journey

    The overall steps required to distribute a game with UDP are as follows:

    1. Creating a game in the UDP console.
      1. Entering your game info on the UDP console.
      2. Defining supported languages.
    2. Implement UDP in your Unity project.
      1. Install the package.
      2. Link your project to the UDP client.
      3. Initialize the UDP SDK.
      4. Implement IAP (if applicable).
      5. Implement LicenceCheck for premium games (optional).
    3. Build and test your game.
      1. Build your game APK.
      2. Ensure all your IAP products are listed in the UDP console (if applicable).
      3. Test your game in the Sandbox.
    4. Upload your game APK to the UDP console.
    5. Finalize the game information page in the UDP console.
      1. Verify testing was successful.
      2. Upload your app signing private key.
      3. Set a premium price (if applicable).
      4. Localize your game information for additional languages (if applicable).
    6. Release your game on UDP.
    7. Publish your game to stores.

    The image below illustrates the overall workflow.

    System requirements

    UDP is supported in Unity 5.6.1 or higher. Unity recommends to use 2018.4 or above.

    You can implement UDP in your game in one of the following ways:

    • Using the UDP package only (see Installing the UDP package)
    • Using the UDP package and Unity IAP package
    • Using Unity IAP only

    The implementation you choose does not affect the UDP console.

    Using the UDP package and the Unity IAP package

    From the following package versions and above, you can use the UDP and Unity IAP packages together:

    • UDP - 2.0.0
    • Unity IAP - 2.0.0 (Asset Store version)

    The Unity IAP package version 2.0.0 and above does not contain the UDP DLL. This requires the UDP package version 2.0.0 and above. From these versions on, install both the UDP package and the Unity IAP package.

    Using Unity IAP only

    Unity IAP versions 1.22.0 - 1.23.5 include the UDP package. If using these versions of the Unity IAP package, you just need to enable Unity IAP. To check which Unity IAP version is installed, go to Window > Unity IAP > IAP Updates.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 26 February 2021