Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question does CreateLobbyAsync have a callback?

Discussion in 'Lobby' started by corypi, Nov 5, 2023.

  1. corypi


    Jun 9, 2022
    looking at the IlobbyService it says <returns>Lobby data for the lobby that was just created</returns>
    i need to track when the lobby is created because sometimes it takes 6-10 seconds for it to create the lobby
    i was just going to use a while(thecreatedlobby == null) { //wait...}; but then i saw the return in ilobbyservice but i cant figure out how to access it.