UnityRef is currently in early development. Some features may be incomplete and/or not functioning.

UNITYREF

Your Pit Stop For Solving ANYTHING in Unity

architecture

[Game Center] iOS App Not Recognized

Under Audit

cloud services

Unity 2022.3.x - Unity 2023.x

Published Sat, Mar 28

iOS applications distributed via TestFlight may encounter an InvalidOperationException related to Game Center not recognizing the application, specifically when utilizing the Platform Toolkit.

Issue

 An InvalidOperationException occurs when an iOS application attempts to establish a connection with Game Center via Unity.PlatformToolkit.GameKit. The error message received is "Domain: GKErrorDomain Status: 15 Description: 'The requested operation could not be completed because this application is not recognized by Game Center.'" This issue is observed in builds distributed through a client's TestFlight account, whereas builds from the developer's own TestFlight account operate without error. The exception originates within the GameKitCoreAccountSystem.Establish() method, indicating a failure in the initial authentication process with Apple's Game Center services.

Experimental Fixes
  • Verify that the Bundle Identifier in your Xcode project matches the one configured for your application in the Apple Developer Portal and App Store Connect.
  • Ensure that the Game Center capability is correctly enabled for your App ID in the Apple Developer Portal and added to your Xcode project’s Signing & Capabilities settings.
  • Confirm that the build being distributed through TestFlight is signed with a provisioning profile that includes the Game Center entitlement.

Editor's Note:

The above fixes have not been verified by our audit team yet. They are provided exclusively for your own technical research. We recommend creating a backup of your project before proceeding with any attempts. Utilize at your own discretion!

Related Posts Haven't quite found a solution to your problem? We think these posts might help you.

Content inspired by a Unity discussion post.