I set up a new project, then in the package manager used “Add package from tarball…” to install a package. Everything worked fine for me, but when I tried to share the project with someone via plastic they get errors:
Unity Package Manager Error
Failed to resolve packages:
It then shows a file path that’s a combination of her project path and the path to the download folder where I installed the tgz file from.
What’s the proper way to do this to avoid this error? Do I need to put the tgz file into the project somewhere before I install it?
I experienced the same problem (2022.2.0b13). Tarball packages was included with an absolute path.
Solution so far is to first remove the links to the tarball packages by editing Packages/manifest.json and packages-lock.json and then put the tarballs in the project folder and add them again. This causes them to be included with a relative path.
1 Like
Thanks, I’ll try this!
I saw in the recent roadmap something about having more control over packages that seemed to be related to this, so my hope is that it gets fixed in a new version.
Thanks for the update. Let me share your feedback with the dev team.