Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by gnp89 · Jul 10, 2020 at 04:06 PM · packagesassetbundlesbundlesaddresspackaging

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:

  • Create a custom package with all kinds of assets, that will be distributed through the Samples~ folder as explained here: https://forum.unity.com/threads/samples-in-packages-manual-setup.623080/

  • We want some these assets to be Addressable so that they can be loaded easily.

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

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AdamBebko · Mar 18, 2021 at 12:50 AM 0
Share

Did anyone figure this out? It's been almost a year!!! I can't find any docs on this

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by eduardo28th · Sep 11, 2020 at 12:15 AM

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by gnp89 · Nov 23, 2020 at 04:41 PM

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Ciryus · Mar 10, 2021 at 10:53 AM

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"
   }
 }

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

133 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Error on package.json: Unexpected token " at 1:1 2 Answers

Stuck while building for Android - Compiling Resources | Repackages Resources 1 Answer

How would I setup a Skippable update scenario with adressables 0 Answers

onDemandResources problems 1 Answer

Is there a way to set the Addressables Remote Load Path in runtime? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges