<@!185738491185856512> feel free to ask follow up questions here in case you have any Docs are here, OpenUPM just generated nice links to access this: https://package-installer.glitch.me/
#🚀-package-installer
Package Installer - a .unitypackage that setus up a scoped registry, installs a UPM package and then deletes itself. https://package-installer.glitch.me/
I'm actually pretty stumped at how to use this from the doc, I follow the first step of Minimal example – latest version, automatic scope by installing the Addressable Importer in my project.
All I want to do is include some dependencies of Unity official package manager packages in a .unitypackage I am exporting for the asset store. I can't see where to configure the addressable importer to include some packages e.g. I want to make a package importer for my .unitypackage to automatically import XR Interaction Toolkit and OpenXR packages from Unity when imported into a project
Are you maybe mixing up <#910278632474308618> and <#941390525196566588> ?
Maybe, I only just started looking into this today and confused myself. I have imported packages from the Asset store that have had a popup telling me they depend on Packman packages, I might just try to do that through Unity's Asset Store publishing tools where I saw a checkbox for that. Was looking for how to do that or a backup option
So that popup is by far the worst thing you can do
It's been a hacky bandaid by the PackMan team - if you check that option when uploading your entire manifest will be used as a dependency
It's purely a hack for what should have been proper package support on the AssetStore like, years ago
That's why I've avoided it
Both <#910278632474308618> and <#941390525196566588> give your user a real package to work with and thus you simply define your dependencies in package.json like in other sane environments
Any pointers on where to start with what I'm trying to do? Thanks for the quick response also 🙏
The difference is
- <#941390525196566588> allows you to specify a package on OpenUPM or elsewhere (from a custom registry) and that will automatically be set up by the installer, which afterwards deletes itself (bit like a self-extracting exe zip archive) (the result is immutable / not editable)
- <#910278632474308618> allow you to ship a regular .unitypackage but instead of unpacking into Assets, it unpacks into Packages, giving your users a proper package (which is mutable / editable by users)
Sounds like I need hybrid, I'm only really including Unity official packages too
Strictly speaking <#941390525196566588> is against Unity's updated Package Terms of Service since it programmatically modifies the user's manifest; we're using both for different packages on the AssetStore actually
Well, I need the actual code in my package to be in Assets so Package installer would have been the one
Ah, drats
I'd say "use hybrid packages" but <@272528485732450305> would say "use the installer" 😄 pick your poison
Generally you should always make sure your code works in whatever folder it is. It shouldn't break just because someone moves it somewhere else
If my scripts are in the Package directory I am almost certain some bits will break but I'll test that. Is there anything I can test with hybrid packages yet?
Let's continue in <#910278632474308618> then I guess 🙂
Please ask in <#1024686103598477383>
hey just upgraded your unity samples to 2022.3 in a clean project and all sorts of errors https://gyazo.com/f8fa7b7ad81b8fd4f1d9167a6fce300a
Hi <@537848352776388619> could you post this in <#1024686103598477383> please? Thanks
Please provide the exact 2022.3 version too
Hi im from Ecuador, someone can help me with this bug? I tried to install the package in the version 6000.0.28 Project has invalid dependencies: com.needle.engine-exporter: Version '' is invalid. Expected one of: a 'SemVer' compatible value; a value starting with 'file:'; a Git URL starting with 'git:' or 'git+', or ending with '.git'.
And nothing works :c
Please don't post in multiple channels 🙂 I've replied here: https://discord.com/channels/717429793926283276/1341410477346914364/1341414378473263155
Sorry, I won't do it again, thanks for helping me<:blobaww:834158987893014578>