Unhandled Error on Multiplayer object when Peer disconnects

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Hi,

    I've started working with the Multiplayer object and have created a simple project.

    I am able to connect to the signaling server, enter a room , become a hoste etc.. all is fine.

    I then run another client and connect to the same room as a peer.

    The issue is when the peer disconnects I get several unhandled errors on the console:

    This happens despite the "Peer disconnect" event being triggered and I catch-it.

    I also have an event "On Signalling error" but this one never gets triggered.

    Thanks for your help

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • As long as the project keeps working as expected, console error messages don't necessarily matter. For example it's possible the peer disconnected due to a timeout or connection error, in which case Construct logs the error to the console as a diagnostic in case it's useful, but otherwise it is a normal disconnection scenario.

  • Thanks Ashley... the project does continue to run (I am the one closing the other peer window for testing purposes)

    I am always nervous about "uncaught" errors or exceptions hence my question to the forum but good to know this is not important and a normal behavior.

    Regards

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)