Post

Replies

Boosts

Views

Activity

Reply to Open Leaderboard using Apple Unity Plugin GameKit
The game's leaderboard must be launched to access it. The id often needs to be in an [array] to be recognized. It is recommended to use try catch to catch error messages. Below is a part of the code I used. try { var gameCenter = GKGameCenterViewController.Init(GKGameCenterViewController.GKGameCenterViewControllerState.Leaderboards); await gameCenter.Present(); } catch (GameKitException ex) { Debug.LogError($"GameKitException while presenting leaderboard: {ex.Message}"); } catch (Exception ex) { Debug.LogError($"Unexpected error while presenting leaderboard: {ex.Message}"); }
Topic: Graphics & Games SubTopic: GameKit Tags:
Oct ’24
Reply to Open Leaderboard using Apple Unity Plugin GameKit
The game's leaderboard must be launched to access it. The id often needs to be in an [array] to be recognized. It is recommended to use try catch to catch error messages. Below is a part of the code I used. try { var gameCenter = GKGameCenterViewController.Init(GKGameCenterViewController.GKGameCenterViewControllerState.Leaderboards); await gameCenter.Present(); } catch (GameKitException ex) { Debug.LogError($"GameKitException while presenting leaderboard: {ex.Message}"); } catch (Exception ex) { Debug.LogError($"Unexpected error while presenting leaderboard: {ex.Message}"); }
Topic: Graphics & Games SubTopic: GameKit Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to GKGameCenterViewController does not get disposed
I am having the same problem. and I used the latest version of the plugin. When I open the Game Center window, nothing happens when I click the X in the upper right corner.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’24