matchList fails when using match label in latest version

In the latest version we have trouble getting listed matches based on the match label.

We’ve been using the following code in our TS runtime which works beautifully up to 3.7.5:

const matches = nk.matchList(10, true, ctx.matchLabel);

In the newer versions matches results always to 0. The ctx.matchLabel property correctly returns the correct label e.g. -1_2.

When removing the matchLabel from the method, listings are correct, check the log below.

Any idea what may have changed here?

  1. Versions: Nakama {3.9.0}, {Docker}
  2. Server Framework Runtime language (If relevant) {TS/JS}
{\"authoritative\":true,\"size\":1,\"label\":\"-1_2\",\"matchId\":\"8afe8742-44bd-460a-8318-5a6caa60a167.nakama1\"}

@Leonidas Looks like a config issue with the 3.9.0 build, it’s been fixed and will be part of the next release. Meanwhile you can use a query rather than exact label filter, or use 3.8.0 until the next release. Thanks for pointing this out! :+1:

1 Like