Unity huge projects and GitHub

Hello everyone. I’ve got a project in Unity and at this moment size of this project is about 30GB and I’m sure it will be greater. I don’t use GitHub for this project still, but now I have to commit my project to repository on GitHub, but… here a problem arises. I’ve got a lot of files larger than 100MB. As I know there is no possibility to upload to GitHub repository, file which is larger than 100MB. What should I do with it? And secondary problem, my project size will be larger than 50GB. Will GitHub have any problems with it? I hope someone can help me.

Regards,
Ether

1 Like

Will I be able to upload files larger that 100MB with that extenstion?

You could have answered that yourself by reading the page and following a link. You can upload files as large as 2 GB (source).

The free version lets you store 1 GB of LFS data and gives you 1 GB of bandwidth/month (source).

3 Likes

Do I understand it correctly? My repository size can not be larger than 1GB or size of one file can not be larger than 1GB? Of course for free.

Well, the “of course free” means you only can have 1GB of large file data (all your large files combined), any of the large files cannot be larger than 2GB and you have 1GB per month bandwidth. But really, read the page on the link @TonyLi provided, there are examples as well.

3 Likes

Library folder should not be versioned, just saying. Azure DevOps is a better option than GitHub if you do not want to pay

5 Likes

This. Azure DevOps has none of the annoying restrictions of GitHub, is functionally unlimited in capacity, and is free for up to five users (after that each additional user is $6/mo).

https://azure.microsoft.com/en-us/pricing/details/devops/azure-devops-services/

3 Likes

What I did was take a linux box, installed SVN on a VM, and use a dynamic DNS service to point the hostname to my IP so I can access the repository from anywhere. Simple, cheap, and no arbitrary bandwidth or file size limits.

Having it a VM makes it really easy to back up the entire repository by just backing up the VM.

1 Like

We use Azure DevOps at work, and it’s really hard for me to hate on Microsoft for building such a streamlined project management system, so I think I’m eventually going to jump to it for personal projects.

3 Likes

My project is 300 gigs (220 without library), I pay for github, can it handle that or not? And whats max size for azure devops?

Azure dev Ops don’t have a hard limit actually. They have a limit of 1 gig per commit though

You never put your library into git btw.

1 Like

I’ve been using Plastic SCM for 1.5 year now. It works great if you don’t want to worry about large files.

3 Likes

Why?

There’s literally no reason to and it’ll just take up space.

3 Likes

you do not need to, it’s just wasted space. When you open the project after a restore, the library is automatically created.

1 Like

Library folder contains semi-temporary files, and unity will regenerate those if they are not present. So there’s no point to version them, because they can be always rebuild, and you aren’t going to be changing anything in there anyway.

5 Likes