Search Unity

Question How to manually Allocate servers?

Discussion in 'Game Server Hosting' started by CodeMonkeyYT, Mar 9, 2023.

  1. CodeMonkeyYT

    CodeMonkeyYT

    Joined:
    Dec 22, 2014
    Posts:
    125
    Hi there,

    I got everything working when I make a Test allocation, the build starts, gets allocated, stays waiting for players, they can join and play the game.
    But then if the server stops I can only get it working again if I make another Test Allocation.
    I can manually go to the Dashboard and "Start Server" but that just runs the build, it doesn't Allocate a server which means if I try to ReadyServerForPlayersAsync(); it throws an error because it hasn't been allocated.
    How am I supposed to Allocate servers? I assume Matchmaker handles that, but what's the alternative without Matchmaker?


    Thanks!
     
    SamEats3d likes this.
  2. ajdaniel_unity

    ajdaniel_unity

    Unity Technologies

    Joined:
    Jul 19, 2019
    Posts:
    22
    CodeMonkeyYT likes this.
  3. CodeMonkeyYT

    CodeMonkeyYT

    Joined:
    Dec 22, 2014
    Posts:
    125
    Oh there's another WebAPI, I was only looking at the multiplay-config API
    Thanks!
     
  4. HamzaMuhammad

    HamzaMuhammad

    Joined:
    Jan 17, 2022
    Posts:
    9
    Hi, i am trying to call the API but i cant seem to authorise as service admin so that i can call the API. Need help with this.
     
  5. ANLevant

    ANLevant

    Joined:
    Jun 10, 2014
    Posts:
    28
    This and the video Codemonkey did was exactly what I was looking for. Thanks man!