Search Unity

Addressables: Building from editor directly to Google Cloud or similar services

Discussion in 'Editor & General Support' started by HEROTECH70, May 3, 2021.

  1. HEROTECH70

    HEROTECH70

    Joined:
    May 24, 2017
    Posts:
    74
    I've been looking all over the web as well as experimenting on my own but since I couldn't find any tutorials or examples, I figured I'd ask here.

    What I want to do is to be able to build addressable assets from Unity directly onto a bucket on google cloud, without having to manually upload the files on my browser. I believe setting up a custom hosting service is the way to go if I've understood correctly, yet I haven't been able to figure out how to set up the script to do it.

    Any help would be greatly appreciated.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745
    We use AWS as our CDN and just have a python script as part of our Addressibles build step.

    It uses:

    Code (csharp):
    1. from aws import upload_directory
    and calls the

    Code (csharp):
    1. upload_directory()
    method with all the args pointed appropriately, and off she goes.

    I'm sure you could just do it with a bash script too.