Problems with unlocked achievements game center

Hey! I have a problem with the achievements of game center. 

My problem is that when I unlocked a achievement, this opens in a infinite loop.

My achievement is in a Runtime, but in itunes connect I have “You can get it more than once” disabled. 

In Google Play Game Services I works great and I have “You can get it more than once” disabled too. Only works once. 

Is the same achievement in the same line of source.

My source is: 

gameNetwork.request( “unlockAchievement”,

{

   achievement =

   {

       identifier = idAchievement,

       percentComplete = 100,

       showsCompletionBanner = true,

   },

})

Im testing on testflight.

Thanks!

Hi @raptoruvgames,

You definitely should not be running this repeatedly in a Runtime listener. Your event should be triggered from within the game and you should listen for (and react) to the .request call with a listener function. This is pretty standard across all Game Center .request calls, and typically you can combine these into one listener function which conditionally checks which type of request was made so you can then take the proper action.

Brent

Hi @raptoruvgames,

You definitely should not be running this repeatedly in a Runtime listener. Your event should be triggered from within the game and you should listen for (and react) to the .request call with a listener function. This is pretty standard across all Game Center .request calls, and typically you can combine these into one listener function which conditionally checks which type of request was made so you can then take the proper action.

Brent