Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug SubscribeToLobbyEventsAsync() hangs in editor after modifying UI

Discussion in 'Lobby' started by neviovalsa, Jul 13, 2023.

  1. neviovalsa

    neviovalsa

    Joined:
    Jun 24, 2019
    Posts:
    28
    Unity 2022.3.0
    Lobby 1.1.0-pre.5

    I get this weird behavior where every time I edit any canvas (or sub component), the next time I play the call `SubscribeToLobbyEventsAsync()` never returns.
    When I recompile the code it starts working again

    I call the function exactly like in the docs here: https://docs.unity.com/lobby/en-us/manual/lobby-events#Receive_updates , right after I create or join a lobby.


    It doesn't seem to happen in builds
     
  2. bartj-unity

    bartj-unity

    Unity Technologies

    Joined:
    Sep 9, 2021
    Posts:
    25
    Could you clarify which Wire package version you're using?
     
  3. neviovalsa

    neviovalsa

    Joined:
    Jun 24, 2019
    Posts:
    28
    Sure, Wire 1.1.8

    Edit: now that I'm checking versions, I see the Lobby changelog for 1.1.0-pre.5 updated Services Core to 1.8.2, and I'm using 1.9.0 instead.

    I'll check if that's the cause of the issue