Hi,
this is an issue I get when using GitHub’s NPM registry as Scoped Registry with UPM.
The issue looks it’s on GitHub’s side, as it only occurs with GitHub’s (and GitHub Enterprise’s) registries, but since Unity is doing the unsupported queries, I might file it as well here.
This is the error message printed by Unity:
[Package Manager Window] Cannot perform upm operation: Unable to perform online search:
Request [GET https://npm.pkg.github.com/@ KageKirin/-/v1/search?text=com.kagekirin&from=0&size=250] failed with status code [405]
The UPM’s manifest.json has the scoped registry set up like this
{
"scopedRegistries": [
{
"name": "GitHub Packages (KageKirin)",
"url": "https://npm.pkg.github.com/@ KageKirin/",
"scopes": [
"com.kagekirin"
]
}
],
"dependencies": {
"com.kagekirin.createurpshaders": "1.0.6",
}
}
So far, this setup works to fetch my package from the registry where I published it,
but it would be lovely not to get the error spam about failed searches.
Thanks for any help.
EDIT: Clean up tags added by this forum system.
EDIT: Added a space after @ and my user name to avoid user-tags being added where they don’t belong.