Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

How to use addressables using custom http rest server

Discussion in 'Addressables' started by Jribs, Nov 8, 2019 at 9:28 PM.

  1. Jribs


    Jun 10, 2014
    Hello, let me explain what I need.

    I have my assetbundles stored in a private S3 bucket. The only way items can be downloaded from this bucket is by having a URL for the item that has a temporary valid code as part of the URL.

    When we want to download an asset we hit the server telling it which items we need. The server then will generate those unique URLs that will give them access to the S3 bucket. Those URLs are sent back to the unity client and the items are downloaded using those URLs.

    I haven't been able to figure out if something like this is possible using the addressable system. The way I understand it is the remote path for the bundle is defined at build time, and then that is the path that is used to find the bundle. I guess if there was a way to change that at runtime per bundle that might work if that could also be applied to automatic dependencies.

    I need to be able to say "Load this scene" and have it get all the dependencies using the special S3 urls it gets from the server.

    Any tips or direction to look to figure this out?