Search Issue Tracker
By Design
Votes
1
Found in
5.3.5f1
Issue ID
811312
Regression
No
[WebGL] Potential huge memory leak
Steps to reproduce:
1. Open attached project.
2. Select "WebGL" as a target platform ("File->Build Settings->Web GL->Switch Platform").
3. Enter the Play mode and wait until all the scenes are being uploaded.
4. Click on the "Start" button.
5. Click on the "View the Gallery" icon (second icon from the top on the left).
6. Click on the word "Knee".
7. Click on any of the five icons that open up below the word "Knee".
8. Notice that the model in the main viewing area changes.
9. Open the "profiler" window or "Task manager", try repeating the 7th step several times and observing the memory usage of "Unity Editor".
Actual result:
The memory usage of "Unity Editor" increases by 3-10 megabytes after every click.
Expected result:
The memory usage of "Unity Editor" should be consistent on "Web GL".
Reproduced with:
5.3.5f1, 5.3.5p6, 5.4.0b25.
Cannot reproduce with:
5.1.0f3, 5.2.4f1, because of Unity Analytics: "The name `Analytics' does not exist in the current context".
Note:
The same result might be achieved by building for "Web GL", opening the build with a browser and repeating the steps provided earlier.
Comments (1)
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
kamstar
Aug 18, 2016 14:14
We have the same problem on 5.4.0b25