
- #Sourcetree external merge tool not launching full#
- #Sourcetree external merge tool not launching software#
Note that these lines should be the same on OSX but I’ve only tested on Windows. If you’re using something other than P4Merge, you will need to determine the correct path and order of the command line arguments. Prefab use “%programs%\Perforce\p4merge” “%b” “%r” “%l” “%d” If you used P4Merge and installed to the default location, change them to this exactly:.Within this file, locate the two lines starting with “unity use” and “prefab use”.Find the following file: /Editor/Data/Tools/mergespecfile.txt.Note that you don’t actually need to register to download, and that when installing you can deselect everything except P4Merge. You should probably use a visual merge tool such as P4Merge from Perforce. SmartMerge needs a merge tool to fall back on. In the Arguments field, type: merge -p $BASE $REMOTE $LOCAL $MERGED.

(On Windows,this will generally be C:/Program Files/Unity/Editor/Data/Tools/UnityYAMLMerge.exe)
#Sourcetree external merge tool not launching full#
#Sourcetree external merge tool not launching software#
SourceTree is also a great piece of software that makes git more accessible to a lot more people. If you haven’t, you should check out Tim Pettersen’s full guide to setting up git with Unity. I think it blows the rest out of the water. The basic point of this post is as follows: git is an incredible piece of version control.

The setup process for OSX will be similar but some of the specifics about things like file paths will be different. This guide is aimed at developers on Windows. So thank you, mysterious vanishing developer(s)! Major credit also goes to Tim Pettersen ( for his GDC 2017 talk on incorporating Unity with git which is what got me started down this path. The only reason I’m writing this post is that it looks like their website is down and isn’t available in the Wayback Machine.

Before I begin, I want to give credit to whoever wrote the blog post that used to be located at the following link:
