Game freezes if user cancel gamecenter login.
I noticed this bad and anoying thing. If you add gamecenter to your game, or the user decide to use it, or cant play the game, because, after prompting the user to login, if they cancel, the game will freezes next gamecenter request.
I found no way to overthru this, as there is no behavior to check if its logged to gamecenter or not.
Any fix for this?
I found no way to overthru this, as there is no behavior to check if its logged to gamecenter or not.
Any fix for this?
Answers
http://forums.gamesalad.com/discussion/43283/possible-bug-in-92-game-center-behavior-causes-the-game-to-freeze
The freeze happens in the next GC behavior after the cancel.
I actually tested it with your game before to validate the bug and got it to freeze...
thanks
0.90 gamecenter works better, and the bug happened just one time, bug after closing, and opening the game again, it was not frozen anymore (without killing it).
The problem with 0.90, is that Gamecenter window is shown only in portrait mode. Another problem that I noticed, is that If while playing I go to gamecenter and sign out, after this the game will keep showing "There was an error logging into Game Center" every gamecenter request (even postscore), and won't ask for loggind again. To stop showing the error, the user must open gameplayer app, and sign in.
As I'm not sure if the bug will be fixed on 0.93, as it is presend in 0.91 and 0.92, I'm thinking about releasing an update for my game using gamesalad 0.90, despite, the gamecenter portrait mode.
I think, it's better to have gamecenter being shown on portrait mode, and error messages when not logged in, than the game freezing when cancelling loggin, or when there is no internet connection.
As an example.....I just downloaded the updated version of chessman, which obviously has a GC logon when the title screen scene starts.
And it really feels like the game has crashed as it waits for the GC logon to happen...as a few times, it has happened as the "play button" is spinning it's way onto screen.
I also logged this freezing issue with support a while ago....so hopefully they can roll it back to a pre-freezing logon way of connecting.
fingers crossed.
And I have no hope of upgrading to 0.9.93 ("Special Bug Mania Edition").
Oh well.
Does anyone know a way to minimise the problem?
Seems strange that is freezes the whole game...?
Shouldn't it just silently fail, or at least, fail with a non-deathly message?
- Murray
Just feelin' the pressure here to release a great game with no bugs.
And one can feel pretty hand-tied with issues like this one.
2. You can minimize the likelihood of this issue by adding a question 'Do you want to login to game center' - before actually trying to login (this way if the customer does not want to login, he will use your 'no' and not iTunes 'cancel')
I got this review from a user on App Store:
"Game freezes when logging into Game Center if not connected to network."
Ouch. That is all it said. I just got mine to lock up three times in a row.
Seems to be caused by my wifi router being a bit strange sometimes, and although my device finds the network, it cannot access the internet at that time.
But this should NEVER cause the game to lock up. Surely it should timeout after say 5 seconds, and proceed without logging in.
I really hope this gets fixed soon. It's the one thing that really pains me about my game.
Rad Skater Apocalypse
http://itunes.apple.com/us/app/rad-skater-apocalypse/id511505832?mt=8
Do an update build using the new version and all should be well.
(doesn't stop you having a bad review for the older version...but hey)