- Home /
How do you work on a project on two computers?
I need to develop a project on Mac and Windows. If I place a copy of the project on each computer, what then needs to be copied to keep in synch if the assets (for the most part) stay the same? Is it possible to just copy the script files and some other files?
Answer by Brian-Kehrer · Jan 27, 2010 at 11:10 PM
The best way is to set up the Unity Asset Server or a third party source control system, such as subversion.
Otherwise, it is difficult to manually manage without simply copying the entire project, as the Library stores references to various assets you have imported.
If you are just replacing scripts and some textures- you can safely do this manually: the best way is to overwrite them in the File system (OS), rather than in Unity. When replaced in the file system, Unity will determine that you have simply changed the file, and preserve the references. If you attempt to overwrite from Unity, Unity will by default rename conflicting assets rather than overwriting, and if you delete the old and then import the new, you risk losing references to the asset in prefabs and scenes.
Answer by Ricardo · Jan 28, 2010 at 08:36 AM
If it's just you working on the two machines, you can probably use version control with them without a lot of trouble. You may want to see my question on version control workflow or other posts with the same tag.
Answer by BerggreenDK · Oct 15, 2011 at 11:23 PM
A simple and cheap way is to install Dropbox (www.dropbox.com) on both computers and when Installing it, edit the location to be a common place on both machines. Like C:\My Dropbox\
A free Dropbox account gives you at least 2 GB free online space.
After this you can create/move your Unity projects into subfolders inside your Dropbox folder and Dropbox will automatically sync files. Only downside is that Dropbox sometimes locks your files while publishing a preview and you have to close Unity down before Dropbox will be able to sync the last bits from your project.
But once the Dropbox icon gets the little green check mark, you are safe to close down and switch computer.
Problem with dropbox is, it can be a lot of uploading and downloading to keep a large-scale project up to date. If you are unlucky enough to live in a backwater with no access to high-speed internet (like inner-city Australia) then it's not a very good solution when your projects can be in excess of a gig.
Answer by georgibrat · Oct 30, 2011 at 06:36 AM
Im pretty sure you would go to the drop down window that says "windows" and click on the type of window you want and it will open the window in a seperate tab and just drag it across to your other monitor
Wait what? I'm pretty sure you can't do that between two different computers.
Iam using Synergy, to controll my mac and desktop on with one set of mouse & $$anonymous$$eyboard (work like a charm).
I use BitTorrentSync to move my files. I Zip the project and move it to the "sync" folder