Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when browsing started - Found Peer then crashes #1

Open
benarc9 opened this issue May 3, 2024 · 0 comments
Open

Error when browsing started - Found Peer then crashes #1

benarc9 opened this issue May 3, 2024 · 0 comments

Comments

@benarc9
Copy link

benarc9 commented May 3, 2024

Used the sample project as reference, thank you by the way for this native library. I wasn't looking forward to having to write it myself.

I am running into an error that doesn't seem to be coming from my code.

It appears to be happening after starting browsing on the client and a network peer is found. So the transports are working, the two devices are finding each other.

However, something is causing a managed exception to be thrown and I'm having trouble figuring out what it is.

Here's the exact error code produced in Xcode:
libc++abi: terminating due to uncaught exception of type I12cppExceptionWrapper

I added some logging to try and figure out what was happening last before it errors out and the StartClient in the App class runs and successfully creates the network object via NetworkManager. Then we click the StartBrowsing button and according to the XCode debug output, it finds the peer device and then we get that error. I have logs everywhere so if it had gotten back to my code I surely would have seen a log statement about it so I believe whatever is happening is happening within MultipeerConnectivityTransport code.

I'm running out of ideas so hoping you still check this and can maybe shed some light on what might be happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant