Search Unity

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

Question What is Lobby Service Rate Limit?

Discussion in 'Multiplayer' started by CodeMonkeyYT, Nov 16, 2022.

  1. CodeMonkeyYT


    Dec 22, 2014
    Hi there,
    On the Lobby Rate Limits page
    There's a difference between Players and Services. I assume a Player is someone playing the game and making API calls from inside the game, what is a Service?
    kiet57441 likes this.
  2. RikuTheFuffs-U


    Unity Technologies

    Feb 20, 2020
    Hi @CodeMonkeyYT , I asked this to the lobby team. Here's their reply:

    "service in this case refers to "service accounts". things like end-user service accounts, cloud code, multiplay, etc. (see these docs for more info). in other words, it would be requests made by the developer to have unrestricted access to modifying any lobby, as opposed to per-player requests.

    it's worth mentioning that the rate limit docs are ahead of the curve: users can't actually use service accounts via the regular Lobby SDK yet because it's not a built-in feature of the auth package yet (although they can do it with Cloud Code already - for an example, see these docs)

    furthermore, any user who wants to use service auth needs to reach out to the Lobby team specifically since we're still enabling it for people manually. if they try to use it without doing that then their requests will get rejected"

    I hope this helps!