Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Git: Plugin to load Addressables from Firebase Storage

Discussion in 'Addressables' started by robinryf, Sep 29, 2019.

  1. robinryf

    robinryf

    Joined:
    May 22, 2014
    Posts:
    14
    Hello Unity Community,


    I recently played around with Addressables and since my projects tend to base on Google Firebase I thought: Could not be that hard to host my Addressable AssetBundles on Firebase Storage and load them from the client, right ... right? It actually turned out to take more time than expected because I could only find guides which download the AssetBundles directly from the http:// links and not using the Firebase API to retrieve the FirebaseStorage location dynamically.

    I have a working version and just wanted to share it with you and gather feedback or suggestion on how to improve on the code! Please have a look at the ReadMe to get further setup instructions:

    https://gitlab.com/robinbird-studio...ls/blob/master/Storage/Addressables/README.md

    Or you can directly add
    Code (CSharp):
    1. "robinbird.firebasetools": "https://gitlab.com/robinbird-studios/libraries/unity-plugins/firebase-tools.git"
    to your
    Code (CSharp):
    1. <PROJECT_URL>/Packages/manifest.json
    and open Unity.


    Best regards,

    Robin
     
    unity_bill, jmkearne and Favo-Yang like this.
  2. traden

    traden

    Joined:
    Sep 16, 2009
    Posts:
    65
    Seems to work! Thanks Robin.