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
Comments (2)
- 
        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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
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()