• RuntimesUnity
  • Spine-Unity Unity Package Manager Git Problem

Hello!
When I try to add the spine-unity 4.1 package to Unity 2021.3.21f1 by adding the git url ("https://github.com/EsotericSoftware/spine-runtimes.git?path=spine-csharp/src#4.1") it fails like this:

[Package Manager Window] Cannot perform upm operation: Unable to add package [https://github.com/EsotericSoftware/spine-runtimes.git?path=spine-csharp/src#4.1]:
  Could not clone [https://github.com/EsotericSoftware/spine-runtimes.git]. Make sure [4.1] is a valid branch name, tag or full commit hash on the remote registry. [NotFound].
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

I'm sure I've simply messed something up here. Any pointers would be welcome.

Related Discussions
...

More info. If I try to git clone that url from the cli I get an error also:

git clone https://github.com/EsotericSoftware/spine-runtimes.git?path=spine-csharp/src#4.1
Cloning into 'src#4.1'...
fatal: unable to update url base from redirection:
  asked for: https://github.com/EsotericSoftware/spine-runtimes.git?path=spine-csharp/src#4.1/info/refs&service=git-upload-pack
   redirect: https://github.com/EsotericSoftware/spine-runtimes?path=spine-csharp/src

I thought this might be some LFS thing, but LFS seems to be setup :/

Hmmm, as far as I tried to install the spine-charp runtime via Add package from git URL… using Unity 2021.3.4f1 now, I didn't get any errors and installation succeeded. Have you tried it with a new Unity project? If you haven't tried it, could you please create a new project and see if the installation works with it?

Turns out this was an issue with the git setup on my workstation. Thanks for replying.

  • Misaki ответили на это сообщение.

    seffyroff I’m glad to hear you've figured it out. Thank you for getting back to us! 🙂