Search Unity

AssetBundles and GIT and LFS

Discussion in 'Asset Bundles' started by SpiderJones, Aug 31, 2019.

  1. SpiderJones

    SpiderJones

    Joined:
    Mar 29, 2014
    Posts:
    129
    I'm thinking to add AssetBundles to LFS and Git. I would add a file extension to them, something like .unity3d. Of course I would handle that extension in the loading. Does anyone have any pro or con advice to share about committing AssetBundles in Git?

    Thanks.
     
  2. M_R

    M_R

    Joined:
    Apr 15, 2015
    Posts:
    461
    don't.
    keep the source assets in git. the bundles can be rebuilt from those.
    keep the bundles where you keep the player build history. do you keep the builds inside git?

    (I once inherited a project that put the built AB in git but not the sources. and as a bonus, they built them with
    DisableWriteTypeTree
    . you don't want to be there.)