Search Issue Tracker
By Design
Votes
0
Found in
2017.3.1f1
Issue ID
1026598
Regression
No
[WebGL] Application.persistentDataPath returns different paths every time new build is created
To reproduce:
1. Open project
2. Build and deploy to itch.io
3. In credits menu, click bottom left for a secret button that shows more info.
4. Click the top yellow button that shows more info.
5. Repeat 2-4 steps.
Expected: Application.persistentDataPath will return the same
Actual: Application.persistentDataPath returns different paths every time new build is created
Reproducible: 2017.3.1f1
Forum thread: https://forum.unity.com/threads/persistentdatapath-returns-different-paths-for-differet-builds.526776/
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
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
Resolution Note (2019.2.X):
This is tied to current design of player prefs. We are changing this to address this and other issues in new loader design. Not going to fix in current versions of Unity.