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.

Question What is Lobby Service Rate Limit?

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

  1. CodeMonkeyYT

    CodeMonkeyYT

    Joined:
    Dec 22, 2014
    Posts:
    121
    Hi there,
    On the Lobby Rate Limits page https://docs.unity.com/lobby/rate-limits.html
    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?
     
  2. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    351
    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!