Skip to main content
Setting Up SVN+SSH+UE4
Toshi Dávila avatar
Written by Toshi Dávila
Updated over 7 years ago

To start, create a new project in UE4 under the /svn folder and name it “Demo”. 

If you already have a project, just skip this step.

It will create a folder called “Demo” under /svn. Now, let’s checkout our Assembla SVN repo in our “Demo” folder. For more info on how to use svn+ssh, read this article

Then, we need to move all of our UE4 project’s folders inside the “trunk” folder.

Now we need to set the REPO_NAME variable. Run this command from terminal:

$ launchctl setenv REPO_NAME your_Assembla_repo_name

your_Assembla_repo_name is available in your SVN repo’s checkout URL to the right of “REPO_NAME”

To make sure the REPO_NAME variable is set correctly, run:

$ echo $REPO_NAME

If for any reason the output is not your Assembla REPO_NAME, quit the terminal and echo the variable again.

Back in our UE project, we will connect it with SVN+SSH! Click on Source Control and then click on Connect to Source Control... in the drop-down menu.

Then, fill the form with the following data:

Click on “Accept settings” and you should see the source control icon turn green!

Now, you should send all of your files to your SVN repo in Assembla from UE4 via SSH! Let’s add all the files and directories under trunk. There is a command to add all of them with SVN. 

Run this from terminal:

$ svn add --force * --auto-props --parents --depth infinity -q

Then, we’ll commit from our SVN client (in my case I’ll do it from terminal).

$ svn commit -m “sending all ue files”

This step will probably take a few minutes, so just wait.

Now that you've made your first commit from the SVN client, all future commits can be made directly from UE4!

Error svn: E720002: Can't create tunnel: The system cannot find the file specified.

If you're receiving the error above, follow these steps:

1. Set up your public key with PuTTY and then set up this environment variable:

2. Reboot, and then change your source control settings to match these. Note: You must double backslash everything in the path. 


Have questions? Email us at support@assembla.com

Did this answer your question?