Skip to content

On-Demand Resources: Added functionality to apply prefetch categories to Addressables groups - #97

Merged
timt-unity3d merged 2 commits into
Unity-Technologies:masterfrom
jwtan-unity:odr-prefetch-tags
Mar 4, 2025
Merged

On-Demand Resources: Added functionality to apply prefetch categories to Addressables groups#97
timt-unity3d merged 2 commits into
Unity-Technologies:masterfrom
jwtan-unity:odr-prefetch-tags

Conversation

@jwtan-unity

@jwtan-unity jwtan-unity commented Mar 4, 2025

Copy link
Copy Markdown
Contributor

Apple uses Prefetch Categories to define when On-Demand Resources (ODRs) are downloaded.

Main changes:

  • You can now specify the prefetch category used by each Addressables group via the AppleODRSchema component.
  • Each ODR now uses the name of the Addressables group as its tag (conforms with Apple's approach to grouping tags).
  • Added post-process script that applies the specified prefetch category (and order) in the Xcode project.

The example Addressables groups in the project have also been modified to use different prefetch categories:

  • Packs D, E, F: Initial Install Tags
  • Packs G, H, I: Prefetched Tag Order
  • Packs J, K, L: Download Only On Demand

@timt-unity3d
timt-unity3d merged commit 3fc53d4 into Unity-Technologies:master Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants