Issue - After calling “gameNetwork.init” during testing I receive “Game Center Unavailable - Player is not signed in”. There is no opportunity to create a new Game Center user or login.
Question: How can I get Game Center working again for my app in test mode?
Notes :
* testing on an IOS device
* I have logged out of Game Center on my device
* use Adhoc Distribution profile tied to the app
* was working fine (sandpit), but then did some IAP testing and swapping user accounts - I was getting score submitted to sandpit leader boards, showing scores etc
* I did delete sandpit data about 14 hours ago, but I’ve tried a few times hours apart and still doesn’t work
Here’s the code if this helps, however this has worked fine up until now:
local gameNetwork = require( "gameNetwork" ) local function genericInit\_Callback( event ) print("genericInit\_Callback") return true end local function gameNetworkSetup() gameNetwork.init( "gamecenter", genericInit\_Callback ) end local function systemEvents( event ) if ( ( event.type == "applicationStart" ) ) then gameNetworkSetup() end return true end Runtime:addEventListener( "system", systemEvents )