- Home /
Problem is not reproducible or outdated
HighScore modified after app updated on app store
Hi guys,
I have updated an app, previously made by another programmer. The app was originally made with Unity 5.2 or 5.3 and has been on the app store for almost two years. I did the necessary updates in Unity 2018.1.5f and after the app was reuploaded, the highscore is being divided by 10 on every device that performed the update for the app. For example, if the previous high score was 7583, it is now 758. If it was 531, it is now 53. It is not a matter of UI, like not having space to show the new score, because if it was, say, 9874, it is now 987, and if i surpass it , it becomes 988, so it just removes the last digit.
I did not change anything in the code for recording the high score, apart from what I mentioned it records and saves the high score correctly in game, when exiting the game and so on.
It uses PlayerPrefs to save and the game has been updated several times on the store with the same code, with no issue. What is weird, is that it doesn't erase the save or something a little more expected. It divides it by 10.
Could this be an issue with iTunes? Has anyone encountered something like this before and do you have any suggestions?
Thanks
Update: I noticed it only happens on iOS 11.3. When I install through xcode locally and then install the project with a newer version, everything is ok locally. High score is correct. The issue only happens when i update the app from the store, on iOS 11.3