Motivation
We write this article to help teams that want to change their version control solution from Unity Collab to Plastic SCM.
Lack of big files support, performance issues and data corruption are some of the common issues that lead Unity Collab users to try Plastic SCM. The process described below explains how to download the Collab project in a git format to later import it to Plastic SCM using GitSync.
How to do it
- Sign into the Unity Developer Dashboard.
- Select the Project to export.
- In the left navigation window, click Collaborate, then click Storage.
- In the main window, click the START EXPORT button.
- When the export is complete, click the DOWNLOAD EXPORT button. A zip file downloads onto your local machine.
- The Zip file contains a Git repository that looks like the one below. Unzip the file.
- Install git in your machine. Once you have git, please run the following command at the parent directory of the git repository. In my case, "C:\data\CollabExport" contains the "de500c48-4e6b-43db-bacd-8f4a9613760d" git repository directory.
C:\C:\Users\manu\Desktop>cd C:\data\CollabExport
C:\data\CollabExport>git daemon --reuseaddr --verbose --export-all --base-path=.
[5532] Ready to rumble - Create a new repository at the plastic SCM Cloud (If you use an on-premise Plastic SCM server use the server ip and port instead)
- Create a new Plastic SCM workspace to work with the new Plastic SCM repository, open the branch explorer view and, right-click the main branch. It's very important to click the branch, not the changeset. Select "Push/Pull" -> "Sync with Git"
- At the "Repository URL" please write "git://localhost/" followed by the git repository GUID you downloaded.
- Click the sync button.
- Once the process finishes, you have the Collab repository migrated to a Plastic SCM repository.
Both the export and the import can take a while depending on your project size.