Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.4.17f1
Issue ID
1368302
Regression
No
[WebGL] Memory leak when using custom stack data type and allocating a large array
Reproduction steps:
1. Download and open the "myvegas_source_webgl_memory_leak_9_22" project from the google drive link
2. Open the "Main" scene
3. In the menu bar, press "MyVegas" > "Build"
4. In the Custom Build System window, press "PREPARE ENVIRONMENT"
5. In the "AppConfig" window, change "SocialAuthStrategy" to "Optional" and click "Save"
6. In the Custom Build System window, press "BUILD PLAYER", and then "BUILD STREAMINGBUNDLES"
7. In the WebGL player window, click and hold the "Spin" button
8. Observe the Profiler window,
Expected result: Total and reserved memory does not progressively grow
Actual result: Total and reserved memory starts progressively growing
Reproducible with: 2019.4.17f1, 2019.4.31f1
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 (2022.1.X):
This is a limitation of the WebGL platform and mentioned in the documentation. https://docs.unity3d.com/Manual/webgl-memory.html