Hey,
I guess the new path is what creates this problem.
I do not know where exactly unity stores their "PlayerPrefs" but according to some posts on the unity forum #1 #2 PlayerPrefs used the IndexedDB.
I tried an alternative way by storing a JSON in unity's builtin persistentDataPath.
When I log the path to the browsers console in my test-project, the path I get is: "/idbfs/90b3e05603d8efe64ce5c035f88e6b1f"
Saving and retrieving the json fron there is no problem, but has the aforementioned issue when updating the project.
EDIT:
. In my test project I am also saving to playerprefs - and the path in the indexed DB for that, seems to be:
/idbfs/90b3e05603d8efe64ce5c035f88e6b1f/PlayerPrefs
- the JSON I save to the persistentpath ends up here: /idbfs/90b3e05603d8efe64ce5c035f88e6b1f/test.json
Other paths that unity seems to create or use:
"/idbfs/90b3e05603d8efe64ce5c035f88e6b1f/Unity""/idbfs/90b3e05603d8efe64ce5c035f88e6b1f/Unity/local.7f8d86c75cc3fab4aab80b5a6b4ef072""/idbfs/90b3e05603d8efe64ce5c035f88e6b1f/Unity/local.7f8d86c75cc3fab4aab80b5a6b4ef072/Analytics""