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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
kamstar
Aug 18, 2016 14:14
We have the same problem on 5.4.0b25