Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.2.17f1
2020.1
Issue ID
1217454
Regression
No
Assigning a referenced asset to a Asset Bundle instead of leaving it as automatic increases the Bundle size
How to reproduce:
1. Open the attached project
2. Make sure the "project/bundles" folder is empty
3. Tests > Build Bundles
4. Check the bundle sizes in "project/bundles"
Actual result: The "chest 1" (Where the referenced asset is added to bundle) bundle takes more space then "chest 2" (bundle where the asset is just referenced)
Expected result: The bundle sizes doesn't differ.
Reproducible with: 2018.4.18f1, 2019.2.20f1, 2019.3.3f1, 2020.1.0a25, 2020.2.0a1.
Notes:
- In user's full project the size increases are a lot higher.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
Assigning an asset to an explicit bundle tells the build system the entire asset should be available at runtime. Where pulling in the asset via reference pulls in only the used components of that asset. This is by design.