Skip to content

add_package command fails to add git packages #82

@DmitriyYukhanov

Description

@DmitriyYukhanov

Hi,
I tried adding the git package through Cursor and got such output:

Install this git upm package to project using mcp:
@https://github.com/EsotericSoftware/spine-runtimes.git?path=spine-unity/Modules/com.esotericsoftware.spine.urp-shaders#4.2

called add_package Paramaters: { "source": "github", "repositoryUrl": "https://github.com/EsotericSoftware/spine-runtimes.git", "path": "spine-unity/Modules/com.esotericsoftware.spine.urp-shaders", "branch": "4.2" } Result: Failed to add package: Unable to add package [https://github.com/EsotericSoftware/spine-runtimes#4.2/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders]: Package name 'https://github.com/EsotericSoftware/spine-runtimes#4.2/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders' is invalid. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions