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.

Bug [Test Allocations] Server config and payload are not (always?) updated with new allocations

Discussion in 'Game Server Hosting' started by Selmar, Jun 29, 2023.

  1. Selmar

    Selmar

    Joined:
    Sep 13, 2011
    Posts:
    55
    I ran into this issue:
    - Create test allocation via the "Create test allocation"
    - Get 404 when calling
    GetPayloadAllocationFromJsonAs

    - Deallocate
    - Launch test allocation with payload via game code
    - Get the same 404.

    I also added some command-line parameters to my build configuration (like -ip 0.0.0.0), they aren't there either in this case. It looks like the allocation doesn't receive the correct information. To solve this I had to take the fleet offline (in hindsight, perhaps it would've sufficed to take the server offline or to restart it?)
     
  2. Selmar

    Selmar

    Joined:
    Sep 13, 2011
    Posts:
    55
    To be clear this happens if the new allocation is assigned to the same server as the test allocation, other servers work fine, i.e. if I keep the server that had the test allocation live while I launch a new session, the new session is allocated to a different server and it works well.