Search Issue Tracker
Won't Fix
Votes
0
Found in
5.6.0p3
Issue ID
907213
Regression
No
WebGL build doesn't execute OnApplicationQuit() function on Unity Web Player when closing or refreshing tab
To reproduce:
1. Open user's project, build and run (WebGL build)
2. While in running project click the screen few times to earn money
3. Close and open or refresh the browser tab, money is reset
Expected: money keeps on counting (OnApplicationQuit() saves PlayerPrefs)
Actual: money is reset to zero (OnApplicationQuit() doesn't execute thus not saving PlayerPrefs)
Reproduced in: 5.3.7p4 , 5.4.5p2, 5.5.3p3, 5.6.0p3, 5.6.0p4, 2017.1.0b3
Notes: tested on browsers: Google Chrome 57.0.2, Mozilla Firefox 53.0, Microsoft Edge 38.14
"Won't Fix" reason: "OnApplicationQuit()" in WebGL is not possible to implement due to nature of the browser tabs closing.
There's not enough time to trigger any additional events before closing happens.
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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
digitalmarketingcbitss
Feb 03, 2020 06:07
Thanks For Sharing It Is Very Help Full...
http://cbitss.com/web-designing-training-course-in-chandigarh.html