how to combine Custom Package + Addressables?

Hey everybody, I’ve been trying to learn this from the docs but it looks like there’s a gap when trying to serve some kinds of assets through a package.

What our team would like to achieve is this:

In previous implementations, where there was no custom package, these assets were bundled and stored in StreamingAssets. But we can’t use this anymore with the Package system.

In the future we’d like to distribute our package, and have a remote server that would serve all kinds of assets. So the assets wouldn’t be distributed in the Samples~ folder anymore. The question is, can we distribute Addressables configuration files so that when the package is imported, the project could connect to our CDN? The challenge here is that the assets are not generated as part of the current project, but they would be provided by the installed package through a CDN that belongs to us.

Any suggestions are very welcome!!!
Thanks
Gonzalo

Hi, did you find a way to do it? I have the same problem.
Thanks @gnp89 ,Did you find a way to do it? I have the same problem.
Thanks @gnp89

Hey, no I haven’t. We end up using asset bundles, and the user needs to drag n drop some files from our package to their StreamingAssets folder.
Definitely not what we initially had in mind when using Packages.

Hey, Have you tried adding dependency in your package.json? (in your package folder)
example:

{
  "name": "com.company.MyPackage",
  "displayName": "MyPackage",
  "version": "0.0.6",
  "description": "This package contains what I want.",
  "license": "UNLICENSED",
  "unity": "2019.4",
  "author": {
    "name": "Company",
    "email": "devs@company.com",
    "url": "http://company.com/"
  },
  "dependencies": {
    "com.company.otherpackage": "2.1.0",
    "com.unity.addressables": "1.16.16"
  }
}