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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
Issue with sample project not deleting the .zip files it downloaded