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)
Plug-in and play: Add Apple frameworks to your Unity game projects
RSS for tagDiscuss the WWDC22 Session Plug-in and play: Add Apple frameworks to your Unity game projects
Posts under wwdc2022-10065 tag
1 Post
Sort by: