- Home /
Gamecenter achievement already reported
Hi there. My game has several achievements which are to be completed over time, so there is a progression display in gamecenter which shows your progress in percent. The app fires some reports to gamecenter after the game has ended to update this values. Sadly the values aren't updated because they are treated as completed after the first report. Even if it is only at 1% instead of 100%.
I get an error message at xcode that looks like this:
Looking for play.5, cache count is 8
Already reported play.5
"play.5" is the gamecenter achievment ID. But I have no idea what cache count is. The user is authenticated and I'm in gamecenter sandbox mode.
I have no clue what to do. Help is very much appreciated.
Answer by Fattie · Sep 03, 2013 at 01:06 PM
What system are you using to do these? The Prime31 plugin or what?
You don't give much info.
In fact - annoyingly - YOU HAVE TO "yourself" keep a list of achievements already made. Just one of those annoying things in life.
Thanks for the reply. I'm using the buildin unity3d Social / GameCenter class. No Prime31 stuff. Why do I have to keep a list locally? $$anonymous$$y idea was to send everything to gamecenter. It then simply updates the values and thats about it.
Just TBC are you sure it's an ERROR .. not just a warning?
Thank you for this hint. It isn't an error message. I just checked my code once more and found the problem. GameCenter just refused to update, because I always send the same progress value that is already listed. It was an coding failure of $$anonymous$$e. Sorry for having wasted your time. And thanks again!
By no means is it a waste of time. There were only like 4 good questions this whole week and yours was one of them.
Would you $$anonymous$$d, please TIC$$anonymous$$ (ROUND symbol, below thumbs) any useful answer asonly you can close out questions to keep board tidy - also you get poitns do you dont get moderated in the future, thanks
Your answer
Follow this Question
Related Questions
How do I detect if the player returns from the GameCenter UI? 0 Answers
Xcode build fails, How to ? 1 Answer
Xcode error when Archiving linker command failed with exit code 1 (use -v to see invocation) clang 1 Answer
Social.LoadAchievements sends Debug.Log messages 1 Answer
What might make an iOS game crash out without any Xcode error messages? 3 Answers