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
Comments (1)
-
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
- [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.2):
Fixed in: 2019.2.0a12, 2019.3.0a3