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][URP] Sprites are flickering in scene when added into 2D URP project
- Link to documentation for PlayableDirector Component is broken
- [URP] Light culling layers don't work when Graphics API is set to anything except OpenGL
- Error "Resolve of invalid GC handle" is thrown when calling GUI.Window() in the Editor Window after entering the Play Mode
- ShaderGraph Keyword being reset to default when saving
Resolution Note (fix version 2019.2):
Fixed in: 2019.2.0a12, 2019.3.0a3