LoopScrollRect
LoopScrollRect copied to clipboard
Can't be used as a dependency inside a package
I tried to use it in one of my own packages that I use to share some code between projects and got this error when adding it to the package manifest:
Invalid dependencies or related test packages: me.qiankanglai.loopscrollrect (dependency): Version 'https://github.com/qiankanglai/LoopScrollRect.git' is invalid. Expected a 'SemVer' compatible value.
Hi, Can you share the package manifest containing LoopScrollRect? The above error log looks like Unity - Include git package as a dependency in package.json of an embedded package.
I suggest using openupm rather than adding git directly.
For example, just add following code into Packages\manifest.json
{
"scopedRegistries": [
{
"name": "package.openupm.com",
"url": "https://package.openupm.com",
"scopes": [
"me.qiankanglai.loopscrollrect",
]
}
],
"dependencies": {
"me.qiankanglai.loopscrollrect": "1.1.4",
}
}