1. Importing SVN Tools
To install SVN Tools please import the unity package into your project.
After the package was imported into your project open the Version Control Settings window (Edit > Project Settings > Version Control) in order to complete setting up your project for version control with SVN Tools.
2. Installing Subversion (SVN Client)
SVN Tools needs Subversion (SVN) to be installed on your machine in order to function. To install Subversion you can click the Get SVN button below the SVN Client field. This will open your browser and direct you to the Apache Subversion Binary Packages page on the official website of Subversion. It is also possible to directly download a 32-bit or 64-bit installer of the SlikSVN binary package by clicking the Download 32-bit or Download 64-bit button.
When the Subversion Client is installed it should automatically be selected in the SVN Client field. If the client is not selected or if you want to use a different client please click the … button next to SVN Client and select the location of the client (executable) you want to use. The executable should be called ‘svn.exe’.
3. Installing TortoiseSVN (Third Party Client)
SVN Tools is integrated with TortoiseSVN to make use of their already strong features, such as comparing and merging files. If you do not already have TortoiseSVN installed then please head over to their download page and follow the instructions to download and install TortoiseSVN.
If you have TortoiseSVN installed and it is not selected in the Third Party Client field then please click the … button to open a file dialog. Please browse to the location where TortoiseSVN is installed and select ‘TortoiseProc.exe’.
4. Recommended Editor Settings
To make the best use of Version Control it is recommended to change your Unity Editor Settings. This can be done in the default Editor Settings window (Edit/Project Settings/Editor) or directly in the Version Control Settings.
It is recommended to change Version Control Mode to Visible Meta Files. This will create a Meta file next to each asset in your project. The Meta file contains the Meta data for your assets, such as Import Settings, Script Execution Order, GUID, etc. If Visible Meta Files is not enabled then you will risk losing this data and losing references when another user opens the project in a different Working Copy.
It is also recommended (though not necessary) to change Asset Serialization to Force Text. This will save all assets in a text-based format to help with merging and to save storage space in the repository.
5. Checking out your project
To checkout your project please input the URL of your repository (e.g. ‘https://www.example.com/svn/trunk’) and the location where you want the Working Copy to be created (by default this is the project root).
If you do not already have a repository, we recommend getting one here for unlimited storage space, unlimited repositories and one-click install for SVN.
After you have chosen the URL and Working Copy directory please press the Checkout button. This will open the Checkout dialog from TortoiseSVN, here you can choose any additional options if required, or press Ok if everything is correct. Please make sure the checkout directory is correct, TortoiseSVN sometimes automatically adds a subfolder to the selected directory.
After TortoiseSVN finished checking out your project please click Retry to make sure Svn Tools can connect to your repository.
6. Excluding files from SVN
After successfully installing SVN Tools and checking out your project it is recommended to exclude temporary files from SVN so they don't clutter up your repository.