Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.3.4f1
Issue ID
781866
Regression
Yes
Compression is not performed on AssetBundles using BuildPipeline.BuildStreamedSceneAssetBundle()
When building AssetBundle's using the legacy method BuildPipeline.BuildStreamedSceneAssetBundle(), using Unity 5.3.X, the created AssetBundles no longer performs Lzma compression on the AssetBundle on build platforms other than WebPlayer and WebGL.
Compression works on 5.2.4f1, 5.1.0f3, 5.2.0f3 and 5.2.2p3.
Compression fails on 5.3.0f4, 5.3.2p2 and 5.3.4f1.
Repro steps:
1. Open attached project "Legacy AssetBundles.zip".
2. Using the menu bar select "Assets/Build AssetBundle/Build Streamed Scene/Compressed" to create an AssetBundle of the scene "main" using compression. After this is created previously the progress bar would say "Performing Lzma compression", this no longer occurs.
2. Using the menu bar select "Assets/Build AssetBundle/Build Streamed Scene/Uncompressed" to create an AssetBundle of the scene "main" using BuildOptions.UncompressedAssetBundle.
3. Observe that the Compressed AssetBundle has the same size as the Uncompressed.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Assertion failed on expression" errors appear when selecting specific Tile Palette GameObjects
- “CommandBuffer: built-in render texture type 3 not found while executing” warning is displayed in URP project
- Player build logs a "material with shader doesn't have a '_MainTex' property" error when instantiating a specific amount of specific prefabs
- The LayerMask parameter is ignored when using Physics2D.GetRayIntersection method
- The Tilemap GameObject causes other Tilemap GameObjects to become invisible when its “Mask Interaction” is set to “Visible Inside Mask”
Add comment