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. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question Realtime Updates with events

Discussion in 'Lobby' started by spinaljack, Aug 3, 2022.

  1. spinaljack

    spinaljack

    Joined:
    Mar 18, 2010
    Posts:
    943
    https://docs.unity.com/lobby/real-time-updates-with-events.html

    So I'm trying to follow the docs but when I copy the example it says LobbyEventCallbacks() doesn't exist

    Everything else works. I can create and join lobbies and I'm just polling for updates every second but I'd rather use this events system instead.


    What am I missing?
     
    Last edited: Aug 3, 2022
  2. veleek_unity

    veleek_unity

    Ben Randall Unity Technologies

    Joined:
    Aug 25, 2021
    Posts:
    36
    Hey, that feature is going to be released in the next few weeks but is not currently available. You may have found a link that was unexpectedly released ahead of time to find that documentation. Do you remember where you found it so that we can clean it up?

    Just to be clear, this is coming soon and we whole heartedly support using push notifications instead of polling! :)
     
  3. spinaljack

    spinaljack

    Joined:
    Mar 18, 2010
    Posts:
    943
    just the lobby documentation
     
  4. veleek_unity

    veleek_unity

    Ben Randall Unity Technologies

    Joined:
    Aug 25, 2021
    Posts:
    36
    Weird, when I go to https://docs.unity.com/lobby/ I don't see a link to that page anywhere. Do you have a specific page you were linked from?
     
  5. spinaljack

    spinaljack

    Joined:
    Mar 18, 2010
    Posts:
    943
    using the search bar
     
  6. veleek_unity

    veleek_unity

    Ben Randall Unity Technologies

    Joined:
    Aug 25, 2021
    Posts:
    36
    Damn, never thought of that one!

    I've reached out to the documentation team to see what we can do about making sure you can only search visible documentation.
     
  7. PierreGillissen

    PierreGillissen

    Joined:
    Jan 5, 2022
    Posts:
    1
    Hey Ben, any chance you could give a release date for Lobby 1.0.2 ?
    I am really looking forward to use that event system !

    Thanks
     
    WakingDragon likes this.
  8. WakingDragon

    WakingDragon

    Joined:
    Mar 18, 2018
    Posts:
    23
    You wait, time passes. Thorin sits down and starts singing about gold.;)
     
  9. WakingDragon

    WakingDragon

    Joined:
    Mar 18, 2018
    Posts:
    23
    Code (CSharp):
    1. if(!RealtimeUpdatesWithEventsIsReleased)
    2. {
    3. ManuallyPollForumForReleaseDate();
    4. }
    5. else
    6. {
    7. CelebrateAndContinueCoding();
    8. }
     
  10. gladys_khk

    gladys_khk

    Unity Technologies

    Joined:
    Apr 7, 2020
    Posts:
    14
    Hello spinaljack, PierreGillissen and WakingDragon, this is Gladys - product manager of the Lobby solution.
    I have sent you a DM :)
     
    WakingDragon and spinaljack like this.
  11. spinaljack

    spinaljack

    Joined:
    Mar 18, 2010
    Posts:
    943
    Hi, I left some messages on slack but lobby events is freezing my editor.
    Also no android support.
     
  12. samballardadamsunity

    samballardadamsunity

    Unity Technologies

    Joined:
    Sep 3, 2021
    Posts:
    2
    Great feedback spinaljack! I'd love to dive into this, as Android should be supported - and we definitely shouldn't be freezing up the editor! :)
    I'll try and find your post on slack. We may need more information to reproduce this on our end.
     
  13. Lasko1

    Lasko1

    Joined:
    Dec 30, 2021
    Posts:
    3
    I also wound up on this page but through google (my search query was "unity lobby events" and its the first result).

    I'm really looking forward to this feature being available!
     
    Last edited: Oct 31, 2022
  14. samballardadamsunity

    samballardadamsunity

    Unity Technologies

    Joined:
    Sep 3, 2021
    Posts:
    2
    We're looking forward to it as well! =)
    Currently you are correct, the only way with the current package is to poll.
    We will update this thread once the lobby events functionality is publicly available.
     
  15. Shakitum_work

    Shakitum_work

    Joined:
    Oct 31, 2022
    Posts:
    1
    Oh, callbacks for lobbies seems so good, the release date is still not set?
     
  16. gladys_khk

    gladys_khk

    Unity Technologies

    Joined:
    Apr 7, 2020
    Posts:
    14
    We are recruiting customers to take part in the closed beta testing of this feature. Please see your DM :)