Google Play Plugins for Unity provide C# APIs for accessing Play in-game features from within the Unity Engine. These plugins also provide Unity Editor features for building a game before publishing it on Google Play.
Play Asset Delivery enables AssetBundles and other assets to be packaged into an Android App Bundle and delivered through Google Play.
Refer to the documentation and Runtime API reference for more information.
To use the Google Play Asset Delivery plugin, you must use a supported Unity version:
- All versions of Unity 2019.x, 2020.x, and newer are supported.
- If you use Unity 2018.x, version 2018.4 or newer are supported.
- If you use Unity 2017.x, only Unity 2017.4.40 is supported. All other versions aren't supported.
To use Google Play Asset Delivery plugin, you must target a minimum Android SDK version of:
- Android Lollipop (API level 21)
The following Google Play plugins will be installed automatically when you install the Google Play Asset Delivery plugin using OpenUPM or when importing the package from GitHub:
- Android Appbundle plugin for Unity. The Android App Bundle plugin for Unity enables the latest app bundle features from Google Play.
- External Dependency Manager plugin for Unity (EDM4U). This plugin resolves AAR dependencies such as the Play Core library.
- Play Core plugin for Unity. The Play Core plugin provides the Play Core Library required by some other Play plugins, such as Play Asset Delivery, Play Integrity, Play In-app Reviews, and Play In-app Updates.
- Play Common plugin for Unity. The Play Common plugin provides common files required by some other Play plugins, such as Play Asset Delivery, Play Integrity, Play In-app Reviews, and Play In-app Updates.
To install the Google Play Asset Delivery plugin using Open UPM, follow the instructions to install via package manager or install via command-line.
Alternatively, you can download the latest .unitypackage
from the Google Play Asset Delivery plugin GitHub releases page and import it using these instructions on the Google APIs for Unity site.
You can find a sample app for Google Play Asset Delivery plugin in the Samples folder on Github. This sample app shows you a working example of the feature in a Unity game.
To request features or report issues with the plugin, please use the GitHub issue tracker.
You can find more resources and support options in the official documentation for Google Play Asset Delivery.
Recent versions of Unity, such as 2019.4.29, 2020.3.15, and 2021.1.15 (or later), include built-in support for Play Asset Delivery (PAD). These Unity versions allow developers to specify asset packs by placing assets in .androidpack folders within their project. These versions also change the "Split Application Binary" option to use asset packs instead of OBBs.
The build method used by the Google Play Plugins for Unity is incompatible with these features and will ignore assets placed in the .androidpack folders.
When you upload a game using this plugin to Google Play, Google collects the following data to help improve our products and services:
- Package name
- Version number
- Google Play Plugin version number
To opt-out of this data collection, remove the packagename.metadata.jar
file found under each plugin's Runtime/Plugins
folder.
Note: This data collection is independent of Google’s collection of library dependencies declared in Gradle when you upload your game to Google Play.
Browse other Google Play plugins for Unity.