Search Issue Tracker
By Design
Votes
0
Found in
2017.3.0f3
Issue ID
1006400
Regression
No
Size of Terrain in built Asset Bundle file is larger than Terrain asset file itself
How to reproduce:
1. Open the user attached project
2. Go to "Builds" --> "Build Asset Bundles" (custom menu items, to build asset bundles)
3. Compare built Asset Bundle size and Terrain asset file size
Result: AssetBundle size is around ~100kb bigger than Terrain asset file
Reproducible with - 2018.2.0a1, 2018.1.0b9, 2017.3.1p2, 2017.3.0a1
Note - Both Standalone and Android as Asset Bundle build targets produce similar results
By design --> So the Terrain Asset in the Assets folder contains the TerrainData (hight map data) and the splat map (texture painting data) and references to things this terrain needs such as textures, materials, and shaders. Building this asset into an asset bundle causes all of the dependencies to be pulled into that bundle. This includes the textures used to paint the terrain, all the shaders needed, and materials. This causes the final size of the terrain to appear much larger because you are looking at the full set of dependencies, not just the minimum data needed.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment