Configuring Unity Distribution Portal
To configure Unity Distribution Portal (UDP) in your game:
Set up UDP
Generate a Unity client
Setting up UDP
Open the Unity Editor and log in with a Unity account. If you don’t have a Unity account yet, create one in https://id.unity.com.
Create or open a Project in the Editor.
To complete the UDP IAP integration, refer to Implementing UDP IAP.
Tip: Unity IAP supports UDP as of version 1.22. You can enable UDP by setting up Unity IAP. To complete the Unity IAP integration, refer to Implementing Unity IAP for UDP. |
Generating a Unity client
The UDP SDK contains a UDP Settings file. You can use the file to generate a Unity client and test accounts.
Create a UDP Settings file by selecting Window > Unity Distribution Portal > Settings.
In the UDP Settings window, link your Project with an existing client or generate a new client.
Note that one Project can only be linked with one client.
- View the UDP Settings.asset file in the Inspector window:
IAP Catalog: see the dedicated section.
Settings
Property | Function | Editable |
Game ID | The identifier for the game | No |
Client ID | The UDP client identifier | No |
Client Key | Which is used when initializing the UDP SDK | No |
Client RSA Public Key | Which is used to verify the callback notification | No |
Client Secret | A Unity key to signing your request that your game send to the UDP server | No |
Callback URL | Specifies the URL for the server that receives the callback notification | Yes |
- UDP Sandbox Test Accounts
Designated users will be able to log in the UDP sandbox environment to test the game’s IAPs. These test accounts only work on the generic UDP build, they will NOT work on repacked builds.
Property | Function | Editable |
The email address for the sandbox test account. It is used as the login name. | Yes | |
Password | The password for the test account. | Yes |