Skip to content

matchmaking not working in discord with initOptions #138

@Deletus1

Description

@Deletus1

What happened?

A bug happened!

"onLaunchCallback doesn't get invoked with matchmaking : true. Game gets launched without it and I can manually start matchmaking later."

We think it originates from issues pertaining to trying to leave a lobby with discord: true

Things we have tried:
insertCoin({
gameId: "EBl2NZG2DPDvv5C57krN",
discord: true,
maxPlayersPerRoom: maxPlayerCount,
// matchmaking : true,
}).then(() => {
console.warn("ON LAUNCH CALLBACK CALLED");
this.scene.start("Game");
});

Version

v1.4.3

What is your environment?

No response

Link to original discussion

https://discord.com/channels/1303116916537430036/1303116916537430039/1350538544447488001

Relevant log output

From Talha Momin (Grayhat) @momintlh:
Image

Image

From user:

Image
VM11:1 Uncaught SyntaxError: "undefined" is not valid JSON
at JSON.parse ()
at client.framework.js.gz:14791:28
(anonymous) @ client.framework.js.gz:14791
setTimeout
(anonymous) @ client.framework.js.gz:14788

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingupstreamMost likely something to do with the upstream repository, in this case the PlayroomKit JS SDK

Type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions