Search Issue Tracker
Fixed in 2019.1.X
Votes
8
Found in
2017.4.2f2
Issue ID
1032870
Regression
No
[WebGL] Player continues to run after webgl-content is removed from DOM
Reproduction steps:
1. Open the attached project.
2. Build and run it for WebGL.
3. Press the "remove webgl-content from document" button.
4. Open a web console.
Actual behavior:
- Player will still run and the error message will be shown - "Screen position out of view frustum".
Reproduced with:
2018.3.0a1, 2018.2.0b3, 2018.1.0f2, 2017.4.2f2, 2017.2.2p4
Tested with:
Firefox 59.0.2
Note:
The error message doesn't show up in 2017.1.3p4
-
PushoN
Aug 20, 2019 08:47
Even call this method, is not retain memory in browser, tested on Webassembly build, with all broswers , except FireFox, cause Firefox works properly.
-
MFKJ
Mar 19, 2019 05:31
Even after exit the application properly with above function, i am getting aw snap crash in chrome while wasm:out of memory error in mozilla.
failed to asynchronously prepare wasm: out of memory UnityLoader.js:4:9417
printErr http://localhost/HS_Test_DataCachingDisable_EmptyProject/Build/UnityLoader.js:4
instantiateArrayBuffer blob:http://localhost/610a0d84-d049-4128-8a17-80b140369ecf:2
out of memory UnityLoader.js:4:9417
printErr http://localhost/HS_Test_DataCachingDisable_EmptyProject/Build/UnityLoader.js:4
onAbort http://localhost/HS_Test_DataCachingDisable_EmptyProject/Build/UnityLoader.js:4
abort blob:http://localhost/610a0d84-d049-4128-8a17-80b140369ecf:2
instantiateArrayBuffer blob:http://localhost/610a0d84-d049-4128-8a17-80b140369ecf:2The error produce after several refresh/reload on chrome and firefox.
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
- “Readme” Asset is unreadable in the Inspector window when switching Editor Theme to Light
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
Resolution Note (fix version 2019.1):
It is now possible to quit via either C# or JS:
- C#: call Application.Quit()
- JS: call unityInstance.Quit()