Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

AssetBundles and GIT and LFS

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

  1. SpiderJones

    SpiderJones

    Joined:
    Mar 29, 2014
    Posts:
    244
    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:
    559
    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.)