Back to Writing
NOTESunityaddressableslocal-hostingasset-managementtutorial

Unity Addressables Guide (10) - Local Hosting for Testing

September 15, 2020Updated Feb 17, 2026

Unity - Addressables Guide (9). Download from Server Part 3

In episode 9, we went through an example of uploading bundles to an external server using Amazon S3 and downloading them in-game.

If the size you're testing is quite large, costs can add up.

Therefore, it's better to test using a local server with a workflow rather than using services like Amazon.

For this purpose, Unity supports a Hosting Service.

![](

jSo21j52dFAiDgHOTAg.697gD4yT6LDOrDmsH64ExnnJQM5ZsyktXty93YSPVnEg.PNG.cdw0424/image.png?type=w966)

The method is very straightforward.

First, open the hosting window through the path shown in the image above,

![](

n7ANYl1CzqmKoRhM4Ag.aLVoizueUnZJE5AOJhfIe4xMfqDc5MpifyOTAgo9ihEg.PNG.cdw0424/image.png?type=w966)

Click the Create button at the top left and select Local Hosting.

![](

uLC8b1BE11j-6Eg.miBIABujrsTPelJOCuxzXfnd-loFSLcpFuoYJKGTDQ8g.JPEG.cdw0424/1600266918101.jpg?type=w966)

You'll see a screen like this on the right,

![](

Ig.jfR_I7uclvQlDgEVN7gGyykmQvU2zx7Zi_PPD4s3RhAg.PNG.cdw0424/SE-20b17e7f-a000-48d1-b757-1acc3fced16b.png?type=w966)

Click the Start Hosting button to start the local hosting server.

Once you click it, you'll see that a local server URL has been generated.

Then click the Create Profile button to create a profile.

![](

GMZPZzYQGUQkV1S5N4g.c0ScmLXxRKUnEjvYAJ0KrDXMkZsmU8N-9R7EvqGOIbQg.PNG.cdw0424/image.png?type=w966)

A window will appear asking for the profile name and server URL.

Enter the server URL you generated above.

![](

HHXNVmSl8pKuZlI3rAg.KdHsHDw31H1H-dKz0lDDKYqDqpJLy7-ByYhC8eYsJDAg.PNG.cdw0424/image.png?type=w966)

Create a group for bundling the content.

Now the group has been created and is ready for bundling.

Let's create a simple Addressable asset to test with.

![](

_ T0mZU9Bj3CdEi8sJ8Ug.hQRFMKIJr_KKH8o8lLaVHrLwfzJEaLwqTSHh-W8y3vEg.PNG.cdw0424/image.png?type=w966)

Right-click the asset to mark it as Addressable.

![](

zSm3MlpYKSfZ5W-4G8g.cQ-PMLe8k5KwYBtWqnwfz-hVAQ6_g0fkVLU0OoT1Wf8g.PNG.cdw0424/image.png?type=w966)

Once the asset is marked as Addressable, an address is assigned.

You can use this address to load the asset in code.

Now let's generate the bundle build by clicking the Build button.

Post image

Build the Addressable assets into bundles.

Post image

You can see in the hosting window that the bundle was built successfully.

Now let's load the asset from the local server using a simple script.

Post image

Using the Addressables.LoadAsset API, you can load the asset with its address.

Key Takeaways:

  • Use local server hosting for testing instead of external services to reduce costs
  • Create profiles and groups in the hosting window
  • Mark assets as Addressable to assign addresses
  • Build bundles using the Build button
  • Load assets using their addresses in code