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
- Mouse device is disabled in Play Mode when the "Device Simulator" tab is present as an inactive tab and Game view is not maximised
- GameObject with the Visual Effect Component is not rendered in the Scene view when it is reenabled in the Inspector and the Play mode is paused
- Prefab icon blends in when selected in Project window with the Light Editor theme enabled
- Textures from other Sprites in the Assets leak into Sprite Renderer Sprites when Sprite Atlas v2 is used
- Errors “UI Error: Invalid GUILayout state in TestRunnerWindow view“ and “ArgumentException: An item with the same key has already been added“ are present when running tests with names that duplicate after truncation in the Test Runner window
Resolution Note (fix version 2019.2):
Fixed in: 2019.2.0a12, 2019.3.0a3