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 How to manually Allocate servers?

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

  1. CodeMonkeyYT

    CodeMonkeyYT

    Joined:
    Dec 22, 2014
    Posts:
    121
    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!
     
  2. ajdaniel_unity

    ajdaniel_unity

    Unity Technologies

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

    CodeMonkeyYT

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

    HamzaMuhammad

    Joined:
    Jan 17, 2022
    Posts:
    8
    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.