r/unity • • 11d ago

Which VCS for Unity projects sharing a 100–300+ GB asset library?

Hi everyone!

I'm setting up version control for several Unity projects that share a large asset library, which could grow to 100–300+ GB.

Current plan:

- The shared assets will be split into a set of UPM packages. The "host" Unity projects will reference them through local file: paths, because I don't want to run my own package registry.

- A few packages will contain only code. Most will hold heavy content: detailed 3D models, long animation clips, large textures, and so on.

- I'm thinking of putting the content packages and the host projects into a monorepo, so the file: references always point to consistent versions.

Constraints:

- I have limited ability and experience to self-host anything, so I'd prefer a cloud solution.

- I'm leaning towards Azure DevOps because its Git LFS storage is unlimited, but I've never used it.

Question: which VCS (and hosting) would you recommend so I don't run into problems or limits later as the asset library grows? I'd be grateful for any real-world experience, especially with Azure DevOps + LFS, Perforce, or Unity Version Control (Plastic SCM) at this scale.

Thanks in advance!

4 Upvotes

13 comments sorted by

4

u/johnv_dev 11d ago

i'd look hard at Unity Version Control (the old Plastic SCM) before going with git. unity hosts it in the cloud, it handles huge binary files without needing LFS, and you can lock files so two people don't edit the same fbx at once. git + LFS can work at that size, but every fresh clone pulls a ton of data, and locking is clunkier. whichever one you pick, make sure Library, Temp and Logs are ignored, and check the current storage pricing for 300gb before you commit, since that's where the cost adds up.

1

u/dizzydizzy 10d ago

We were using perforce then swapped to plastic before the buyout. We have several gigs of data. Plastic is a good enough alternative to perforce

1

u/johnv_dev 10d ago

makes sense, perforce is hard to beat if you want to run your own server, and plastic gets you most of that same workflow without the hosting headache

1

u/l3kim 9d ago

Why do you need to ignore library, temp, and logs? We use this today but not sure if I knew to ignore those.

1

u/johnv_dev 9d ago

unity rebuilds all three from your Assets and project settings, so they're just local cache. Library alone can get huge and changes constantly, so committing it bloats the repo and causes pointless conflicts between people. the only cost of ignoring it is the first open after a fresh pull takes a while to reimport.

3

u/Cuarenta-Dos 11d ago

Tried git+lfs, experience was pretty horrible especially for non-programmers. Currently using Perforce, it's also not amazing (the visual client is quite unintuitive, the update process for the self-hosted version is a pain in the ass), but works much better than git for large files and generally well enough that we're sticking with it for now.

1

u/FallenWyvern 11d ago

Why is git+lfs a pain for non-programmers? Like in so far that GIT is a pain for non-programmers, or did LFS add something that you found problematic?

1

u/Cuarenta-Dos 11d ago edited 11d ago

They tend to mess up more, and fixing mistakes in git is painful. Accidental commit of a huge file is a tragedy. There is no such thing as "delete this file and all its history" in git as far as a "normal" person is concerned. They don't get "rewriting history", "force pushes", "rebases" and all that nonsense.

git also doesn't have a way to control how far the history goes. For many types of large files (for example, baked lighting) storing history is completely pointless, and there is no option to only keep the last version in git. This causes the repository to absolutely explode in size very quickly unless you're a git magician.

git protocol also sucks for uploading large files. It's the whole commit or nothing, and if you don't have a perfect connection it tends to drop on large files and it's infuriating because there is no resume. This is usually a non-issue for source code.

1

u/FallenWyvern 11d ago

Correct me if I'm wrong, binary data doesn't get history on it, and everything in LFS is binary? At least that was my understanding. The git side of lfs handled code, and the lfs side handled binary files.

1

u/Cuarenta-Dos 11d ago

Binary data gets history, and every revision is stored. In that sense it works like normal git does. It only changes how binary data is stored, and it doesn't force you to store every revision locally, but it is still stored in LFS.

2

u/TheJohnnyFuzz 11d ago

Use/pay Unity for theirs (old plastic scm). Been running a project over the last 18 months that has about 75gb of internal assets/files etc, and it has been great. Did the whole LFS thing and that works for smaller projects and it can manage larger ones as people have already commented on but having direct access and having it just built in is very nice. You can then leverage how much of that tooling you want to use vs not use and/or build out how you want your team to work across it.

1

u/taisui 11d ago

Use cloud flare R2 for git LFS and GitHub for actual code