- Home /
Why do PlayerPrefs become empty when uploading a new WebGL game version to Facebook
PlayerPrefs works perfectly on a specific WebGL game version. Uploading a new game version to Facebook makes PlayerPrefs "forget" everything. If I got it right, WebGL PlayerPrefs is saved in indexdb under the Application.persistentDataPath but the Application.persistentDataPath is different between each game version on Facebook. Even when you upload the same game zip twice, each version have a different Application.persistentDataPath. Any idea how to upload a new game version to Facebook without clearing the whole users PlayerPrefs? Thanks!
Your answer
Follow this Question
Related Questions
Unity 5.5 - WebGL - Build fail: Access to Plugins\Android\MainLibProj is denied 2 Answers
Can I publish my game on Facebook? 0 Answers
Facebook instant games loading screen overlay issue 0 Answers
Is there a safe way to save to a high-score board in WebGL? 1 Answer
Given URL is not allowed by the Application configuration 0 Answers