Version: 2023.1
Language : English
Unity Distribution Portal
Distributing your game with UDP

Getting started with UDP

UDP implementation

Unity recommends implementing UDP in your game development cycle towards the end of the development cycle, for example when you have decided what your game’s purchasable in-app products will be. This makes it easier to implement UDP in your back-catalog games to give them a new lease of life on new app stores.

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

  • Using the UDP Package only
  • Using the UDP package and Unity IAPAbbreviation of Unity In App Purchase
    See in Glossary
    package (for Unity IAP package versions 2.0.0+)
  • Using Unity IAP only (for Unity IAP package versions 1.22.0–1.23.5)

The implementation you choose does not affect the UDP console.

Using the UDP Package

This implementation is similar to the Google Play In-App Billing implementation. If you have previously configured your game for Google Play then Unity recommends using the UDP package.

The UDP package is available from Unity Package Manager or from the Unity Asset Store.

For standalone UDP package installations, see Installing the UDP package.

Using the UDP package and Unity IAP

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 the UDP package and install the Unity IAP package from the Asset Store.

Using Unity IAP

If your game already uses Unity IAP, you can continue to use the Unity IAP package.

Note: Unity recommends using the UDP package along with the Unity IAP package version 2.0.0+, available from the Asset StoreA growing library of free and commercial assets created by Unity and members of the community. Offers a wide variety of assets, from textures, models and animations to whole project examples, tutorials and Editor extensions. More info
See in Glossary
..

UDP is included in Unity IAP from version 1.22.0 - 1.23.5. If you use the Unity IAP package (1.22.0 - 1.23.5) do not install the UDP package separately. To check which Unity IAP version is installed, go to Services > Unity IAP > IAP Updates. Follow the general implementation guidance of Unity IAP’s documentation before you implement your IAP items with Unity IAP.

If using the Unity IAP package, you can implement IAP items in your game using code, or a codeless implementation. For better integration with UDP, implement IAP using code.

System requirements

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

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)

Accessing the UDP console

To access the UDP console, go to the Unity Dashboard and select Distribution Portal.

To access the UDP console from the Unity Editor, select Services > Unity Distribution Portal > Configure. In the Unity Distribution Portal settings, select Go to UDP console.

Unity Distribution Portal
Distributing your game with UDP