PlayEveryWare / eos_plugin_for_unity

Repository for PlayEveryWare's EOS Plugin for Unity, bringing the functionality of Epic Online Services to the Unity Game Engine.
https://eospluginforunity.playeveryware.com
283 stars 55 forks source link

Lobby Login Failure #956

Open WispyMouse opened 2 hours ago

WispyMouse commented 2 hours ago

Hello, I had the exact same problem and commenting out this line in EOSLobbyManager.cs also fixed the problem for me. I was just wondering if this can cause other problems in the future? Thank you!

_Originally posted by @KimulatorsFilms in https://github.com/PlayEveryWare/eos_plugin_for_unity/discussions/525#discussioncomment-10906503_

WispyMouse commented 2 hours ago

@KimulatorsFilms : Hey! I created this issue because I saw you posted in Discussions. I want to start by gathering information.

It sounds like you had a problem with the Lobby member count not updating, and you solved this by commenting out CurrentLobby = new Lobby(); inside EOSLobbyManager.OnLoggedIn(). Is that correct?

I wanted to check in first; can you please make a log inside EOSLobbyManager.OnLoggedIn, and determine when it is being called? The user in the original discussion mentioned that they were running OnLoggedIn whenever a lobby is joined; this is incorrect! OnLoggedIn should only be called after authentication is established, but not after each lobby login.

Commenting out the line would fix your issue because the lobby is being created in EOSLobbyManager.CreateLobby, and then when OnLoggedIn is being called that Lobby is being re-created as an empty lobby.