WebGL HLAPI 5.2.1p1 not connecting to mm server

Has anyone been able to successfully connect a build in a browser to the mm server and start a game?

Just wondering if I’m missing something, exe and editor are connecting fine but the WebGL build seems to just hang and never connect to the server to start the game. I’ve enabled useWebSockets as well.

Are you talking about failure to connect to the matchmaking server, or to your game’s server? My understanding is that WebGL clients can’t act as Websocket servers, so cannot host games, they can only join games hosted by desktop builds. So make sure you’re doing that.

I would also expect NAT traversal to not work with Websockets, as it’s a TCP-based protocol and NAT punchthrough with TCP is very challenging.

1 Like

Matchmaking server in order to host a game, but what you’re saying makes a lot of sense. I’ll look more into this and test some more. Thanks for explaining.