Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4
2020.1.13f1
2020.2
2021.1
2021.2
Issue ID
1297458
Regression
No
[WebGL] Memory leaks when unzipping files
How to reproduce:
1. Open the attached project "case_1297458-Project.zip"
2. Make a WebGL build
3. Host the built WebGL Player
4. Open the Player in a browser
5. Open the Developer Tools (common shortcut F12)
6. In the Memory tab, take a snapshot
7. Inspect the allocated memory used
8. In the Player, click "Download 2MB file and unzip" a few times (3-5)
9. Take a memory snapshot again
10. Inspect the allocated memory used
Expected result: Memory is not increase
Actual result: Memory usage increases each time downloading and unzipping files
Reproducible with: 2018.4.30f1, 2019.4.18f1, 2020.2.2f1, 2021.1.0b2, 2021.2.0a1
Notes:
- Tested on Chrome and Firefox
- Chrome page crashes when unzipping larger files (ex. 43MB)
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
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- Constant console errors when using Min/Max Slider in PlayMode
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
Resolution Note:
Issue with sample project not deleting the .zip files it downloaded