Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

New Google Play Asset Delivery - possible with UCB?

Discussion in 'Unity Build Automation' started by Eric-Farraro, Apr 21, 2020.

  1. Eric-Farraro

    Eric-Farraro

    Joined:
    Apr 23, 2013
    Posts:
    31
    I saw this new Google Play Asset Delivery capability which came out very recently
    (documentation here https://developer.android.com/guide/app-bundle/asset-delivery)

    It *seems* like it may work with Unity Cloud Build as a way to get us out of .obb hell / larger package sizes, but I haven't been able to figure out how to make it work yet. There are some relevant docs (https://developer.android.com/guide/app-bundle/asset-delivery/build-unity) that talk about how to integrate Asset Delivery w/ automated builds. I imagine it's possible to setup the configuration use PreExport / PostExport methods in UCB, but I'm not sure how exactly.

    Has anyone tried this out yet (with or without UCB?)
     
    Last edited: Apr 21, 2020
  2. Akeru

    Akeru

    Joined:
    May 2, 2014
    Posts:
    12
    Bump this!

    Has anyone figured this out?
     
  3. unity_YtoxEhc4Yp4SSw

    unity_YtoxEhc4Yp4SSw

    Joined:
    Mar 1, 2019
    Posts:
    8
    Is it possible to update the script on Android/IOS?
     
  4. TheVirtualMunk

    TheVirtualMunk

    Joined:
    Sep 6, 2019
    Posts:
    143
  5. TuomanZai

    TuomanZai

    Joined:
    Feb 12, 2021
    Posts:
    3
  6. grobonom

    grobonom

    Joined:
    Jun 23, 2018
    Posts:
    335
    I rarely bundle useless sh1t in my project ( and app cutting libs for going over 150MB stupid limit is sh1t )

    But it seems, as morons nowadays rule this world, that we got no choice on this.
    Unfortunately, the unity dev team didn't yet dealt with google constraints and user have to find a solution on his own.

    From what googl says, what i'd want is an asset download at install ( 1GB is far enough and i sincerely wonder why there's such a difference between 150MB and 1GB.... but in morons world, nothing is surprising... )

    I made a trash project and installed/uninstalled many things.....
    I got now the asset bundle browser ( why is this thing not yet bundled in unity3D ?
    I also got an unitypackage that is called....
    upload_2021-4-17_20-11-53.png

    I built an asset bundle from a scene ( sorry i wont make asset bundle from every object in my scene )
    and found i way to get it with the google play plugins thing.
    and i got this:
    upload_2021-4-17_20-16-2.png

    I retrieve the 3 modes mentioned by googl...

    Now this have to be tried out and check wether it works or not.

    I just hope this won't mess up my windows and linux targets :/

    Happy unitying !
     
  7. grobonom

    grobonom

    Joined:
    Jun 23, 2018
    Posts:
    335
    As expected, this simply do not work.

    Unity still creates an aab or an apk with no more files i could send to gogol for PAD on any step ( install,follow or demand )

    this sux !
    And we really need U3D team to dig in this and make it simple and user friendly ( and transparent :p )

    Happy unitying !
     
  8. grobonom

    grobonom

    Joined:
    Jun 23, 2018
    Posts:
    335
  9. elaine_unity694

    elaine_unity694

    Joined:
    Oct 12, 2020
    Posts:
    26
    Any updates from Unity Cloud Build with Play Asset Delivery ?
     
  10. UnityPeterD

    UnityPeterD

    Unity Technologies

    Joined:
    Nov 5, 2019
    Posts:
    46
    @elaine_unity694, yes, you can build App Bundles directly in Cloud Build instead of an APK.

    You can configure this in the advanced settings of your build target under Platform Specific Settings (Android).
     

    Attached Files: