Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
4
Question by novo · Oct 09, 2010 at 06:48 PM · assetbundleexportpackagedocumentation

What is the difference between a package and an asset bundle?

There seems to be little to no documentation on either, so I'm wondering if the community can provide me with the answer. When I choose "Export Package..." from the Assets menu, does it create an AssetBundle? I'm familiar with the AssetBundle API and my understanding is there is no public Package API. If someone could point me toward some other relevant documentation, that would be great.

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
14
Best Answer

Answer by Ray-Pendergraph · Oct 09, 2010 at 10:39 PM

A package is an edit time feature that lets you export and import collections of source code and project artifacts (stuff that shows up in the project hierarchy). For instance, if someone wrote a tool with several C# classes and had several Textures, Materials, editor classes, etc and other assets to go with it they could package it as a Unity package. Creating a package essentially (I believe) creates a tar-gz of the source files and assets that you export with the package wizard. This is similar to a zip file. When you load a package it Unity just explodes the original structure of assets and source files intact into your project. Then they are part of the project for you to alter and use.

An asset bundle is a binary, proprietary file that Unity uses to load assets at runtime in a standalone or over the web via the web player. Compiled classes or source (or unconverted art assets for that matter) are not allowed in bundles . What is allowed are Scenes, converted/compressed art assets, audio files, video files, imported and converted FBX files, etc. The main use of this is fragmenting the amount of these types of assets that are loaded at one time. Keep in mind that these are necessarily loaded into memory as Unity does not utilize the hard drive for these matters (for security and performance). So, for a large game you would not want to have the entire thing loaded into memory (especially if you are not using those levels/assets) so bundles allow you to split things out for better management. You can unload groups of assets that you are done with or not using at the time.

Comment
Add comment · Show 1 · 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 novo · Oct 10, 2010 at 01:28 PM 1
Share

Very informative. Thanks, Ray.

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

1 Person is following this question.

avatar image

Related Questions

Export a slimmer project 0 Answers

Export assetbundle in unity 2 Answers

How to edit AssetBundleProviderType by code 0 Answers

Exporting and keeping scripts 0 Answers

Terrain asset package missing rock mesh? 2 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