GitHub and Unity

I’m doing a solo project in Unity 5. I plan to use Git as my Version Control. I’m currently lacking some kind of bug/issue tracking solution. I thought about Bugzilla, but why not GitHub? In the future my project may grow and GitHub would allow effective online collaboration. Is it a good idea to use GitHub with Unity for issue tracking and collaboration?

yes :slight_smile:

and you can then also close issues with commit messages: Linking a pull request to an issue - GitHub Docs

Do they have limits on asset size? I mean with games you have some big files, besides C# code.

I love using Bitbucket for Unity projects because they allow you to make both public and private repositories for free.

Bitbucket has the following fair use limitations regarding size:

Refer to their website for further information with regards to their service:
https://confluence.atlassian.com/bitbucket/what-kind-of-limits-do-you-have-on-repository-file-upload-size-273877699.html

Ok, I checked. GitHub has a soft cap of 1GB, but they apparently don’t enforce it strictly.

GitHub free doesn’t allow for private repositories, afaik. As long as you’re fine with paying or having all of your stuff available publicly, that’s not a problem.

BitBucket allows for private repos for free, as long as there’s 5 or less participants.

GitHub now has a Large File Storage solution, targeted more at media (and game development). A quick search reveals that BitBucket also has Large File Storage support as well.

I’ve been migrating to AWS CodeCommit and am giving that a whirl for future projects. I’ve already converted my old main project from mercurial to git and commited it to CodeCommit.

Haven’t had time to do many live changes yet, but here’s my assesment so far:

Pros:

  • Way more space per user (10GB per active user!).

  • All repos are private and secure (goes through Amazon’s Identity management System)

  • Good cost ratio, $1 per active user per month.

  • Has a free Tier (if your usage / user count is under certain amounts).

Cons:

  • More difficult/complicated to setup - Requires setting up IAM users, security policies, etc.
  • Users need to setup authentication on their end (this could be automated with scripting).
  • Web interface not as advanced or user-friendly as GitHub or BitBucket yet.
  • You will be charged for storage used if the number of active users doesn’t cover it, per GB.
  • There’s a certain number of free Git requests per month. As of this writing it is 2,000 per active user /month. There’s a charge per request if you go over that limit.
  • If you optionally choose to encrypt/decrypt your data, there’s additional costs and overhead doing so, although I haven’t looked at that option.

I’m using it because it has a better cost proposition than the current service I’m using for the raw asset storage.

I’m going to look at using LFS with CodeCommit, but given the amount of space per-user, I may not need to if the speeds are good.

1 Like

My experience with AWS is that if you do some error that mistakenly cause you to use too much data, the service just silently starts charging you. Is it possible to put up a rule like “if I spend more than this amount, please just refuse all requests”?

I’ve had a “free” tier blindside me with $100 dollar bills for stuff I didn’t need, and while I know that’s my fault, I’d really like to not be able to fuck up like that at all.


AWS Cloudwatch
is probably what you are looking for, alerts for when usage or billing gets too high. I had my old project managment EC2 instance warn if it got over $15/mo (it was running on a micro instance).

Is there a way to make it “cut-out” automatically when it exceeds the maximum threshold that you are willing to pay for?

Looks like you can direct it to change the state of ec2 instances, anything more advanced might require Events. Bear in mind, I’ve never messed with that aspect of AWS.

Hmm, it seams that GitHub is better for open source stuff while BitBucket is better for closed source stuff.