I’m having the same problem as you, except no Thread 1: EXC_BAD_ACCESS (code=257, address=0x2) error, it just crashes and cuts connection from the device to XCode
I have the same problem,
fetchItems()
OnSuccess()
Thread 1: EXC_BAD_ACCESS (code=257, address=0x2) error, it just crashes when cuts connection from the device to XCode
if not cut connection, it will keep stay in this error line in Xcode
using Unity 2021.3.9f, build on iOS,
manually modified manifest.json to use unity authentication 2.4.0
using Apple Game Center plugin for unity
People here are saying that this git branch is working properly. I still have to give it a try as soon as I can.
I confirm. It’s working. It’s impossible to select target platforms while building tars though.
I’m nonetheless waiting for the official release.
EDIT: I’m having troubles when I switch back to Android. Unity is building the Apple plugins for Android as well and this creates problems. It seems I cannot deselect the Android platform from the plugin inspector: even if I select only iOS and apply changes, as I try to build the .apk selection are resetting to “Any platform”.
Use this. GetSalt() and GetSignature() functions are not available with this mod. Use .Salt and .Signature properties instead. They work fine in my project.
An annoying problem though is that every time I switch to Android for building my game these plugins (I’m using Core and GameKit) are included in the build process which I cannot complete because of a few errors. I can’t edit the selected devices in the plugin inspector. I always have to remove the packages and re-import them again.
I also cannot target iOS versions lower than 14.0. If I do, the app will crash on launch because of a GameKitWrapper-something missing. But I haven’t checked yet if this is a requirement for the mod only or for the official Apple release as well.
Weird, I tried using the .Salt and .Signature properties and it kept telling me there was no permision/access for it or something I forgot the specifics, even though everything was public. This caused me to switch back to whatever the latest was. I have had wayyyyy too many issues with Apple and XCode from these plugins.
I’m just going to hold out for a fix. I hope it is actually being worked on.
I might be going crazy now. I reimported the fix again reverting from the latest version. Now .GetSignature() and .Signature both don’t exist. Think I will wait this out.
Yeah absolutely, that’s exactly what I did, which is funny becuase importing the tar file dirrectly causes it to have no read/write permissions to imported package files which was a whole nother headache I had to figure out.
But anyways, I had the latest version, reverted to the the fix branch, which was indeed working, since the GetSignature() was removed. Discovered the .Signature reference, which in the editor kept telling me there were no permisions for that reference like it was a private varriable. So I just reverted back to the latest branch.
As per the advice of the others, AndreaMar asked me to get the screen of that error. So I went through the whole proccess again. Now I do not have GetSignature() or .Signature. So I am certainly on the Fix branch especially after re-doing the plugins like 3 times now.