Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Random server deallocation

Discussion in 'Game Server Hosting' started by adrian_eleven, Nov 23, 2022.

  1. adrian_eleven

    adrian_eleven

    Joined:
    Dec 5, 2021
    Posts:
    2
    Sometimes, without any errors, my servers are restarted. In the middle of the game players are disconnected, the server stops, but in the Events tab I only see "Performed stop using build configuration "Main Build Configuration". I don't see any other errors. Any tips what causes it, or how to debug it?
     
  2. ajdaniel_unity

    ajdaniel_unity

    Unity Technologies

    Joined:
    Jul 19, 2019
    Posts:
    22
    How long after an allocation does this happen? By default, a server will be deallocated 1 hour after an allocation, no matter the player count, could you be hitting that timeout?
     
    zhare86 likes this.
  3. adrian_eleven

    adrian_eleven

    Joined:
    Dec 5, 2021
    Posts:
    2
    Yes, this aligns with my tests this morning. Deallocation after around 1 hour. How I can fix that or control when the server gets deallocated?