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
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
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.