Open royibernthal opened 1 year ago
tbh i don't have any idea this,
editing manifest.json
inside Packages
folder by adding the dependency maybe should work:
{
"dependencies": {
"com.itisnajim.socketiounity": "https://github.com/itisnajim/SocketIOUnity.git"
}
}
Save the manifest.json file, and the Unity Package Manager should automatically resolve and install the SocketIOUnity package, if it didn't then close and open unity. otherwise i don't know!
Hmm yeah of course, but each user would have to do tha, it's equivalent to installing it via the Package Manager manually via Unity. It can't really by change upon package installation, correct me if I'm wrong.
try doing this, and tell me if its fixed, in your dependency do edit manifest.json inside Packages folder
{
...
"dependencies": {
"com.itisnajim.socketiounity": "https://github.com/itisnajim/SocketIOUnity.git"
}
...
}
I created a custom package that's using SocketIOUnity. I'm now trying to add SocketIOUnity to my package.json so that it can be resolved as a dependency.
I tried this:
And got the following error:
It seems git urls are only supported in the project manifest though.
I also tried this:
And got the following error:
Which makes sense, as I don't believe this package has been pushed to any registry that unity is fetching from.
How would you do it?