Search Issue Tracker
Fixed in 2019.1.X
Votes
1
Found in
2017.4.9f1
Issue ID
1072116
Regression
No
[Linux] Editor overwrites PlayerPrefs file when launched
How to reproduce:
1. Open user's attached project
2. Enter the play mode and observe the console
3. Exit the play mode and observe the console
4. Close Unity Editor
5. Reopen the same project
6. Enter play mode and observe console
Expected result: Console will print out "20" as it was saved to playerPrefs file
Actual result: console prints out "1"
Reproducible with: 2017.2.1f1, 2017.4.9f1, 2018.1.6f1, 2018.2.4f1, 2018.3.0a10
Notes:
- Editor seems to recreate/overwrite playerPrefs file deleting any saved data
- On Linux, PlayerPrefs can be found in ~/.config/unity3d/[CompanyName]/[ProductName]
- Seems to happen only on Linux machines
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
- Artifacts appear on GameObjects when using the WebGL Player on Silicon macOS
- Only the icon of the disabled child GameObject is faded when a parent GameObject is a Prefab
Add comment