Skip to content

google/play-asset-delivery-unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Play Asset Delivery Plugin for Unity

Overview

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.

Pre-requisites

Required Unity Version

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.

Required Android Version

To use Google Play Asset Delivery plugin, you must target a minimum Android SDK version of:

  • Android Lollipop (API level 21)

Required Play Plugins

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:

Install the Plugin

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.

Sample app

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.

Support

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.

Known issues

Play Asset Delivery support built into Unity

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.

Data Collection

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.

Related Plugins

Browse other Google Play plugins for Unity.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages