Search Issue Tracker
Duplicate
Votes
0
Found in
2017.3.0b4
2017.3.1f1
Issue ID
1011743
Regression
Yes
"Assertion failed" when aborting download of Asset Bundle with LZ4 compression while using UnityWebRequest
How to reproduce:
1. Open users attached project and "scene" level (make sure that you are connected to internet)
2. Enter playmode
3. Click on "Start Download" button, the download will be automatically aborted on 30%
Expected result: No assertion is thrown
Actual result: Assertion failed on expression: 'm_UncompressedBlocksOffsets[blockInd] <= from + dstPos && m_UncompressedBlocksOffsets[blockInd] + uncompressedBlockSize >= from + dstPos'
Notes:
1. Did happen with LZ4 compression, did not happen when BuildAssetBundleOptions were set to None
2. The code aborts the request when it hits about 30%. The assertion failed message only seems to appear when it's aborted at specific progress amounts
3. Seems to be Editor-only, as Assertion did not reproduce on Standalone Windows player
Regression introduced in - 2017.3.0b4
Reproducible with - 2018.2.0a4, 2018.1.0b11, 2017.3.1p3, 2017.3.0b4
Not reproducible with - 2017.3.0b3
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
This is a duplicate of issue #976010