Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

support play asset delivery using addressable

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

pancake-llc/play-asset-delivery-addressable

Repository files navigation

Notes

  • Since Unity 6 , Android: Added the Addressables for Android (com.unity.addressables.android) package. This package provides Play Asset Delivery support for Addressables.

What

  • Play Asset Delivery Using Addressable for Unity

How To Install Package

Add the lines below to Packages/manifest.json

for version 1.0.0

"com.pancake.play-asset-delivery": "https://github.com/pancake-llc/play-asset-delivery-addressable.git#1.0.0",

Usages

  • Step 1: If you have not created a setting for addressable, create it by going to menu Window > Asset Management > Addressables > Groups > Create Addressables Settings

  • Step 2: Create PlayAssetDeliveryInitializationSettings. Access the create menu via right click > Create > Addressables > Initialization > PlayAssetDeliveryInitializationSettings

  • Step 3: Create BuildScriptPlayAssetDelivery. Go to menu Create > Addressables > Custom Build > Play Asset Delivery

  • Step 4: Create AssetPacksContent. Truly go to menu Create > Addressables > Group Tempaltes > Blank Group Template > Rename to AssetPackContent

  • Step 5: Add Schema Content Packing Loading for AssetPackContent

  • Step 6: In Content Packing & Loading
    • change BuildPath to Local.BuildPath
    • change LoadPath to Local.LoadPath
    • change Asset Provider to Assets from Bundles Provider
    • change Asset Bundle Provider to AssetBundle Provider

  • Step 7: Add Schema Play Asset Delivery and change Asset Pack to InstallTimeContent (InstallTime).

  • Step 8: Open AddressableAssetSettings
    • In Build and Play Mode Scripts add BuildScriptPlayAssetDelivery
    • In Asset Group Templates add AssetPackContent
    • In Initializatio Objects add PlayAssetDeliveryInitializationSettings

  • Step 9: Move AssetPackContent, BuildScriptPlayAssetDelivery, PlayAssetDeliveryInitializationSettings to folder PlayAssetDelivery/Data

  • Step 10: In the Addressables window, instead of using the menu Build > New Build > Build Default Script, we now use the menu Build > New Build > Play Asset Delivery

About

support play asset delivery using addressable

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Languages