question

TChuck avatar image
TChuck asked

Server showing up empty when it isn't

Hello all,

I'm running into an issue where the player count is not updated at all on the server. I've setup my project similar to this repo:

https://github.com/natepac/playfabmirrorgameexample/tree/master/Assets

I can connect to the PlayFab server, can have a friend playing around with me and whatnot. When a player joins/leaves, I am calling UpdateConnectedPlayers on the PlayFabMultiplayerAgentAPI to keep it updated. However the player count remains at 0 on the dashboard; and when calling list multiplayer servers, it always returns the ConnectedPlayers as an empty array despite there obviously being players in the server.

To get the server data, I am calling ExecuteEntityCloudScript to execute a function that does the ListMultiplayerServers call. I am deserializing it correctly, but even the function response string is returning "ConnectedPlayers":[]

Any idea on how to fix this?

unity3d
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Rick Chen avatar image Rick Chen ♦ commented ·

This repo is not an official repo, could you please also try this PlayFab official Unity Mirror Sample https://github.com/PlayFab/MpsSamples/tree/main/UnityMirror and see if the issue still exist?

0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.