We are using the Apple Unity plugin (Gamekit) to authorize players, using a Game Center account. To get player info we run a task from the plugin,
var fetchItemsResponse = await GKLocalPlayer.Local.FetchItems();
But when this code run, there is an error in Xcode. The error is the following,
Thread 1: EXC_BAD_ACCESS (code=257, address=0x2)
- MacOS 12.5 Monterey
- Unity 2021.3.4f1
- XCode 14.2
- AppleCore Unity Package - 1.0.2
- AppleGameKit Unity Package - 1.0.3
- Crashes when calling FetchItems in Unity
- Installed in iPhone XR (iOS 15.2.1)