Our game stores a local cache of serialised data in Application.persistentDataPath which is retrieved from a custom web service. It is possible that we may have need to make changes to our data models on an application update, potentially rendering the cached data invalid (e.g. changing the elements in an enumeration causing deserialisation to throw an exception).
Is there a way to force data stored in Application.persistentDataPath to be deleted on an app update?
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
3 People are following this question.
Get device moving direction like Left to Right and Jump detection with intensity
Activity Indicator Centered
iOS ipa too big compared to android due to "level" size in editor log
Build Asset Bundles and then build the player