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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Unity huge projects and GitHub

Discussion in 'General Discussion' started by Ether141, Jul 17, 2019.

  1. Ether141

    Ether141

    Joined:
    Jul 30, 2018
    Posts:
    21
    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
     
  2. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    9,801
  3. Ether141

    Ether141

    Joined:
    Jul 30, 2018
    Posts:
    21
    Will I be able to upload files larger that 100MB with that extenstion?
     
  4. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,545
    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).
     
    angles20, Deleted User and Ryiah like this.
  5. Ether141

    Ether141

    Joined:
    Jul 30, 2018
    Posts:
    21
    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.
     
    Last edited: Jul 17, 2019
  6. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    9,996
    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.
     
    angrypenguin, Ryiah and TonyLi like this.
  7. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    5,358
    Library folder should not be versioned, just saying. Azure DevOps is a better option than GitHub if you do not want to pay
     
  8. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,184
    Last edited: Jul 17, 2019
    angrypenguin, pcg and AndersMalmgren like this.
  9. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    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.
     
    Deleted User likes this.
  10. aer0ace

    aer0ace

    Joined:
    May 11, 2012
    Posts:
    1,511
    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.
     
  11. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,593
    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?
     
  12. MDADigital

    MDADigital

    Joined:
    Apr 18, 2020
    Posts:
    2,198
    Azure dev Ops don't have a hard limit actually. They have a limit of 1 gig per commit though
     
  13. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,885
    You never put your library into git btw.
     
    MDADigital likes this.
  14. Marc-Saubion

    Marc-Saubion

    Joined:
    Jul 6, 2011
    Posts:
    645
    I've been using Plastic SCM for 1.5 year now. It works great if you don't want to worry about large files.
     
  15. pedroarruda4991

    pedroarruda4991

    Joined:
    Jan 9, 2021
    Posts:
    18
    Why?
     
  16. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    9,801
    There's literally no reason to and it'll just take up space.
     
  17. FlightOfOne

    FlightOfOne

    Joined:
    Aug 1, 2014
    Posts:
    659
    you do not need to, it's just wasted space. When you open the project after a restore, the library is automatically created.
     
    MadeFromPolygons likes this.
  18. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,337
    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.