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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #976010