EOS_Sessions_RegisterPlayers EOS_NotConfigured

Hello Epic Community

I’m implementing Sessions Matchmaking, my problem it’s when I try register the player using EOS_Sessions_RegisterPlayers() I’m getting EOS_NotConfigured in the callback, I’m trying register in 2 moment:

Register my own player from the callback of EOS_Sessions_UpdateSession()

and

Register other players when they join the session (I’m using P2P to let know the session owner that a player joined)

I’m doing the test from my own implementation and from the demonstration samples, in both cases EOS_NotConfigured it’s returned, this is expected?

Regards

Help! :sob:

Hello, could you please ensure that the permission “matchmaking:managePlayers” is toggled in the client policy?

I can see that none of the client policies in your products have this enabled, which will be required for P2P session management.

Hello [Content removed] Thomas​ thanks for your reply

When I try enable I can see this message: “Permissions modification is disabled for this client policy type.”

Do you what I need do to be able of enable it?

Regards

Ok, I figured it out, I need use “Trusted Server”.

This choose disable Lobbies, so I need choose one over the other.

Thanks

The “Permissions modification is disabled for this client policy type” error means that you’ll need to create a custom client policy to enable this permission.

You can create a new client policy and assign it to your existing set of client credentials.

Trusted Server client credentials are intended for non-player instances of your game (e.g., dedicated servers) and do not support player authentication or player-specific services, such as Lobbies.

Using a custom client policy, you should be able to enable the “matchmaking:managePlayers” permission and continue authenticating users as before.