Member count not updating on host #525
Replies: 5 comments 1 reply
-
I'm a little bit confused, is You seem to indicate it's 1:
but then you say it's zero:
Sorry if I'm missing some context. I've double checked the implementation in the EOS Plugin Demo application, and it appears to be working properly, so I suspect there are gaps in our documentation that are not making some aspect of implementation clear enough (which I still consider a bug and want therefore want to fix). Can you give me a little more context for where you are calling |
Beta Was this translation helpful? Give feedback.
-
I'm calling OnLoggedIn when a client joins the lobby, on callback when result is success. And calling Members.Count every 0.1 seconds, for detecting speech and showing mic icon On demo I have seen when UIMemberEntry spawns, OnLoggedIn called. In this method Subscription for lobby updates are executed. So when I'm not using OnLoggedIn, for the client everything is ok, but in host Members.Count is not updating and it is 1. When calling OnLoggedIn for a possible fix, the member count on the client drops to 0. I'm curious what I am missing that the host doesn't detect clients that are connected after him |
Beta Was this translation helpful? Give feedback.
-
Just commented out this line in EOSLobbyManager.cs and seems like it is working. But not sure if this can break something else |
Beta Was this translation helpful? Give feedback.
-
Interesting, I will take a look at why that may have solved your problem and get back to you. |
Beta Was this translation helpful? Give feedback.
-
Are you experiencing this problem from inside the demo application, or are you experiencing the problem when integrating the plugin into your game? I assume it's the latter and not the former, in which case it may be helpful if you can walk me through the steps the host takes to set up a lobby, and what steps the client takes to join the lobby. Since I am unable to reproduce this error myself, I'm going to convert this issue to a discussion. That's not to say there isn't an issue - but until we can reproduce it I'm going to move it to discussions where we can more appropriately discuss the details :) |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Host is not updating member count when client is joined. But in client everything is ok (value is 2).
Constantly checking member count on host returns => 1
Calling
lobbyManager.OnLoggedIn()
for subscribing to lobby events. But in this case client sees zero players asMemberCount
What am I missing?
Expected behavior
Host should see:
lobbyManager.GetCurrentLobby().Members.Count = 2
Desktop (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions