the load request calls thread 1: EXC_BAD_ACCESS (code=1, address=0x0)

Hello, I am writing a plugin for iOS for Unity. And recently the phone was updated, then I had to switch from xcode 14 to xcode 15, and now my plugin has stopped running with the error thread 1: EXC_BAD_ACCESS (code=1, address=0x0). But at the same time, there is no such error, if the project has appsflyer, one signal plugins at the same time, I can't find what exactly they can change, that there is no such problem. I have reviewed my entire project and the problem arises at this stage:

[WebView loadRequest:request];

Just in case, I output data on delegates to the console and whether the wkwebview itself is empty, but no, everything is fine:

2023-10-26 13:42:10.239021+0300 WWebView[40416:4492528] request: <NSURLRequest: 0x282505d40> { URL: https://www.google.com/ }
2023-10-26 13:42:10.239052+0300 WWebView[40416:4492528] WebView.navigationDelegate != nil
2023-10-26 13:42:10.239074+0300 WWebView[40416:4492528] WebView.UIDelegate != nil

Tell me, what could be the cause of such a problem?The plugin is written in objective-c, it worked before xcode 15, I can't check on the versions below, there is no device on which I could run xcode 14, since this version does not support new iOS versions.

Replies

Update: There is no error and everything works, if you add the Facebook SDK to the project without even initializing it, who can tell what could be the reason?

I am writing for those who have faced the same problem sometimes. Fixed in Unity versions that appeared after November 20, 2023.