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
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
- Low FPS in the Game View when the Editor window loses focus
- Memory leak when a domain is reloaded on a Scene that uses HDRP's water simulation resources
Resolution Note:
Issue with sample project not deleting the .zip files it downloaded