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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment