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
- [URP] Exceeding the platform's supported light limit gives shadow distortion when using Deferred Rendering Path
- URP Sample Buffer Image Tile is moved when the Offset Value is changed
- Static constructor in a struct returns false when running tests with IL2CPP
- Console throws warnings and a MissingReferenceException error for XR packages when doing a clean project import
- [Linux][IL2CPP] Dedicated server crashes when calling Socket.Send
Resolution Note (fix version 2019.2):
Fixed in: 2019.2.0a12, 2019.3.0a3