Unity-Technologies / Addressables-Sample

Demo project using Addressables package
1.29k stars 298 forks source link

Custom asset packs are not generated #82

Closed hkmt-mmy closed 1 year ago

hkmt-mmy commented 1 year ago

"Build Addressables content on Player Build" setting does not generate custom asset packs.

\<Good example>

  1. "Do not Build Addressables content on Player Build"
  2. Build > New Build > Play Asset Delivery
  3. build the apk

There are three asset packs: CustomFastFollow, CustomOnDemand, and UnityDataAssetPack.

\<Bad example>

  1. "Build Addressables content on Player Build"
  2. build the apk

BuildScriptPlayAssetDelivery.DoBuild is executed. But, there is only UnityDataAssetPack.

hkmt-mmy commented 1 year ago

Self-resolved.

  1. build process
  2. custom asset pack support
  3. collect streamingAssets

The ideal processing order is shown above. But if you want to solve this without editing Addressables, it would look like this now.