Thanks for the fix. Btw here is simple unity c# function in order to get spine runtime directly from unity. On windows you need to have svn command line ( http://www.collab.net/downloads/subversion) installed. On osx works fine.
public static void GetSpineRuntime2x ()
{
string spine_unity = "https://github.com/EsotericSoftware/spine-runtimes/trunk/spine-unity/Assets/spine-unity/";
string spine_src = "https://github.com/EsotericSoftware/spine-runtimes/trunk/spine-csharp/src/";
GetRepositoryFiles (spine_unity, "Assets/Spine/spine-unity");
GetRepositoryFiles (spine_src, "Assets/Spine/src");
AssetDatabase.Refresh ();
}
/// <summary>
/// Gets the repository files.
/// </summary>
/// <param name="gitPath">Git path. https://github.com/EsotericSoftware/spine-runtimes/trunk/spine-unity/Assets/spine-unity/</param>
/// <param name="assetsPath">Assets path. Assets/Spine</param>
public static void GetRepositoryFiles (string gitHubPath, string assetsPath)
{
string cmd = "svn";
string args = "export
---
force \"" + gitHubPath + "\" \"" + Path.Combine (Directory.GetCurrentDirectory (), assetsPath).FixOSPath () + "\"";
Debug.Log (cmd + " " + args);
System.Diagnostics.Process p = new System.Diagnostics.Process ();
try {
p.StartInfo.FileName = cmd;
p.StartInfo.Arguments = args;
p.StartInfo.RedirectStandardError = true;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.UseShellExecute = false;
p.Start ();
string error = p.StandardError.ReadToEnd ();
string output = p.StandardOutput.ReadToEnd ();
p.WaitForExit ();
if (!string.IsNullOrEmpty (error)) {
Debug.LogError (error);
}
if (!string.IsNullOrEmpty (output)) {
Debug.Log (output);
}
} finally {
p.Close ();
p.Dispose ();
}
}