Version: 2023.2
Asset packs in Unity
Create a custom asset pack

Set up Play Asset Delivery

Play Asset Delivery is the asset splitting solution for Android App Bundles (AAB). To use Play Asset Delivery, set up your project to:

  1. Use the AAB publishing format. For information on how to do this, refer to Publishing format.
  2. Split the application binary. For information on how to do this, refer to Splitting the application binary. If Split Application Binary is grayed out, it means your current Unity Editor version doesn’t support Play Asset Delivery. To resolve this, update the Unity Editor. All versions of Unity from 2021.3 support Play Asset Delivery. Support was also added for previous Unity versions in the following patch releases:
  3. 2019.4.29f1
  4. 2020.3.15f2
  5. 2021.1.16f1
  6. 2021.2.0f1

When you build your application, Unity creates an AAB that includes your application split into a base module and asset packs. For more information, refer to Asset packs in Unity.

Important: Unity uses the PLAY_ASSET_PACKS Gradle template variable to specify which asset packs to include in the Android App Bundle. If you use a custom Gradle template that was created before Unity supported Play Asset Delivery, your template won’t contain this variable. Because Unity automatically generates the values for this variable, it’s best practice to recreate your Gradle template file from the current Unity version and reapply your modifications on top.

其他资源

Asset packs in Unity
Create a custom asset pack
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961