-
-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SetLobbyMemberData not triggering LobbyDataUpdate_t #409
Comments
Hey Scott, my initial question is what is the lifetime of the object holding on to the OnlobbyDataUpdated callback? It's definitely 'alive' in scope and around when the other user joins? |
Hey @rlabrecque. Correct, I have a SteamLobby script that is attached to my mirror network manager. The callback is defined globally in the class, initialized in Start(), and working for every client on their own OnLobbyEntered events. Edit for clarity: Both methods/callbacks are in the same script, are 'alive', and in scope from the start of the application. There is no Destroy sequence for the object where they reside. |
To add to this, if after the member lobby data has been set, I manually call GetNumLobbyMembers or GetLobbyMemberData, I can see the correct SteamUsers are in the correct lobby with the correct LobbyData and LobbyMemberData. I just can't seem to get the LobbyDataUpdate to trigger. I've been stuck on this, really confused for a while haha. |
Let me know if you have any follow up questions. I'm still stuck on this. Thanks. |
Hello. Any new ideas on this issue? I am having the same problem. |
@metalbird21 Nothing on my end yet. I'm still having the problem. |
@metalbird21 - Did you ever come across a solution for this? |
I may be misunderstanding how this is supposed to work, but according to the steam documentation SetLobbyMemberData should trigger a LobbyDataUpdate_t callback:
I am only seeing this happen on the user that is setting their lobby member data. Example below:
When a user enters a lobby I set the lobby member data to the team they will be on. If I manually check the member lobby data via RequestLobbyData or RequestMemberLobbyData it appears correct. However the following callback is only triggered for the user setting the member lobby data:
Is there something I'm missing here? Any help would be much appreciated. Thanks.
The text was updated successfully, but these errors were encountered: