Hi,
My friend and I are making a 2D game using the personal version of Unity.
We are both using different PC’s as we are not in the same household and I’m sure you can gather that we don’t work in a studio or anything of the sort.
How can we both work on the game together?
Is there a system in place where we can do this, or do we have to pay for this?
If there is a free way that is preferably as we aren’t doing this for profit.
Thanks in advance
It’s not necessarily a Unity-specific thing, but what you’re describing is basically what Version Control is for. There are many different kinds that will accomplish what you want, and which one you choose is largely down to preference. As examples, look into SVN, Git (these are free), there’s also Mercurial, Perforce, etc. There are websites, such as http://github.com, which allow you to host repositories online so your collaborators can get to them from anywhere. Depending on the site, you may have to pay a fee to create private repositories though (otherwise your code/assets are open for anyone to grab). I think BitBucket allows you to create free private repos, and Microsoft has a thing as well now, though I’m not sure how that one works as I haven’t used it.
Once you’ve decided which one to try, you just have to set up your repository so that it is versioning the correct files and folders of your Unity project. Check out this page http://docs.unity3d.com/Manual/ExternalVersionControlSystemSupport.html, it’s Unity’s documentation on using external version control systems. The most important thing is to make sure the version control system is ignoring Unity’s Library folder (as this should be rebuilt by Unity on every system the project is on), as well as any auto-generated solution files/folders that MonoDevelop or Visual Studio will create. In some cases, like GitHub’s desktop client, there are already templates that have the correct ignore setup for Unity.
From there, it’s just a matter of learning how to properly use the version control system alongside Unity. There is going to be some trial and error there (everyone hits a merge conflict eventually), but using one is definitely worth the setup. We use SVN at work, and despite the occasional issue, it is miles better than people sending files back and forth with flash drives.