Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preferences: use .uplift/preferences.xml rather than EditorPrefs for storage #63

Merged
merged 5 commits into from
Dec 18, 2018

Conversation

niezbop
Copy link
Member

@niezbop niezbop commented Dec 18, 2018

Several issues have been noticed with the uplift preferences being in the EditorPrefs:

  • Issues on newer versions of Unity regarding threading and access to EditorPrefs
  • Issue on iOS with preferences being reset every so often

For these reasons, this moves Uplift preferences to a storage we have much more control over, .uplift/preferences.xml.

NOTE: It would have been better to put these preferences into the settings file as proposed in #62 , but it cannot be modified or it breaks backward compatibility.

@niezbop niezbop requested a review from lacostej December 18, 2018 09:51
@niezbop niezbop self-assigned this Dec 18, 2018
@niezbop niezbop force-pushed the feature/file_for_preferences branch from dc9baf8 to b39e233 Compare December 18, 2018 09:53
@niezbop niezbop merged commit c4f45b0 into DragonBox:master Dec 18, 2018
@niezbop niezbop deleted the feature/file_for_preferences branch December 18, 2018 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants