Hi,
My project and PlayerPrefs was running fine with Unity 5.4.1f1, but when I upgraded my project to Unity 5.4.1p2 (without changing anything in the code) the PlayerPrefs started being deleted every time I restart my app (when my app is running the PlayerPrefs is saving values ok, but when I close my app and reopen it all PlayerPrefs are lost).
This bug is happening only with Windows 10/8.1 Universal, PlayerPrefs are working OK with Android and no date are lost when I restart my app.
Please to take a look at this issue and find what you introduced in Unity 5.4.1p2 that breaking the PlayerPrefs for UWP/WSA.
But I have received at least over 20 emails so far that after few weeks,
full version is no longer unlocked. For some reason PlayerPrefs had lost the data, no idea why. Does not happen on other platforms. Had to made different way to save unlocking.
We checked it first thing on Monday since the report sounds really scary. However, we could not reproduce it. It works fine on our end, and @Wadjey didn’t send us a repro project :.
Hi,
Any hope to get this bug fixed in this week patch release? If no, there is a temporary workaround for this issue? (I tried deleting Library folder but it didn’t solved the issue for me)
We have finally received repro project and the fix is in place. We’ll try to get it out with patch release ASAP. There’s no trivial workaround unfortunately as preferences file gets overwritten on startup every time. Nontrivial workaround is to save preferences in a custom file.