Addressables
Why use Addressables
Reduce initial download size (recommended: around 10 MB)
Start the game faster, especially on mobile
Load only what is needed for the first level
Download heavy assets later in background
Step 1: Install Addressables
Open Window → Package Manager
Find Addressables
Click Install

Step 2: Create Addressables group
Open Window → Asset Management → Addressables → Groups
Click New → Packed Assets
Tip: Put related assets in one group (for example, all “Forest level” assets together)

Step 3: Add assets to Addressable groups
Select the asset you want to make addressable and enable the Addressable checkbox.


This will add the asset to the default Addressables group and assign it an address (usually based on the file path). You can later modify this address.
Click the group picker and select the group you created.

Step 4: Load assets from script
Now load Addressables from code instead of loading assets directly.
Use a [SerializeField] or public variable so you can drag Addressables into the loader in the Unity Editor.
Example field
And then
Inside OnBackgroundLoaded, use the loaded backgrounds.
Later, you can store the loaded Addressables in an array or list and use them when the game needs them.
*When loading the game, do not load every Addressable at once. Check which assets are needed for the current level and load only that group. Start the game after the required level assets are ready.
Last updated