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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note:
Issue with sample project not deleting the .zip files it downloaded