Search Issue Tracker
Fixed in 2019.2.X
Duplicate in 2019.1.X
Votes
3
Found in
2019.1.0a12
2019.2.0a1
2019.2.0a9
Issue ID
1140820
Regression
Yes
PlayerPrefs don't get saved in a WebGL build
How to reproduce:
1. Open the attached "case_1140820-WebGL_PlayerPrefs_Bug" project
2. Switch platform to WebGL and build using Build and Run
3. In the build, enter something into the text field and reopen build
Expected results: Whatever you entered into the text field gets saved and appears after restarting the build
Actual results: The text field still has the initial text
Not reproducible with: 2017.4.24f1, 2018.3.11f1, 2019.1.0a11
Reproducible with: 2019.1.0b9, 2012.2.0a10
-
santhoshbijinemula
Apr 10, 2020 23:24
Hi,
The data is getting saved in the browser. So, when I am playing the same game on different pc/browser the high scores of the game are not loading my quiz game. Is there any alternative for me to synchronize the data on different browsers.
Thank you.
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
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
- [macOS] Display flickers with bright colors when built Player uses 2 or more Displays
Resolution Note (fix version 2019.2):
Fixed in: 2019.2.0a12, 2019.3.0a3