Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.2.X
Votes
0
Found in
2019.2.6f1
2019.4
2020.1
2020.2
2021.1
Issue ID
1188667
Regression
Yes
[WebGL] Memory is not released when on Application Quit
How to reproduce:
1. Open the attached project's "case_1188667-Project.zip" Scene labeled "SampleScene"
2. Make a WebGL build
3. Host the WebGL build
4. Open the built WebGL Player in a browser
5. In the Player, press the "Quit" button
Expected result: Message is logged in the Developer Console that Player has quit
Actual result: Browser throws a "RuntimeError: memory access out of bounds" error or there's an "ArgumentNullException: Value cannot be null" error in the Developer Console
Reproducible with: 2019.4.17f1, 2020.1.17f1, 2020.2.1f1, 2021.1.0a1
Not reproducible with: 2018.4.30f1, 2021.1.0a2, 2021.1.0b1
-
Tom-Mensink
Feb 15, 2022 11:44
Same for us. Could you please solve this also in 2020.3 LTS? We cannot upgrade from 2019 to 2020 now, because of this bug.
-
clogghead
Feb 15, 2022 08:29
Same for us!
-
aaniceto
Aug 23, 2021 19:39
I see this bug also in 2020.3 LTS, which seems an important bug from where we stand. It's really important for our project.
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
- Editor crashes when loading RenderDoc with Graphics API set to OpenGLES2 or OpenGLES3
- [Windows] Development Build with no scenes shows a purple screen when using OpenGLES3 graphics API
- Shader variants take too much memory at runtime
- [HDRP][VFX] Output mesh with default shader is incorrectly sorted before the HDRP fog
- Error "'GamepadSpeakerOutputType' does not exist in the namespace 'UnityEngine'" occurs in the Console when building a project
Resolution Note (fix version 2021.1):
Fixed a bug where calling unityInstance.Quit() from JavaScript (and releasing all references to unityInstance) would not let JS VM garbage collect away the Unity game application. Fixed in Unity 2021.1.0a2 and above