Skip to content

Error when browsing started - Found Peer then crashes #1

Description

@benarc9

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions