There is no OnUpdateGameSession callback after StartMatchBackfill

I’m using Unity with GameLift-CSharp-ServerSDK-3.4.0 (Net45)

This is how i passing delegates in ProcessParameters:

var processParameters = new ProcessParameters(
  /* onStartGameSession */ (gameSession) => 
  {
      Debug.Log("GameLift.OnStartGameSession");
      ...
  },
  /* onUpdateGameSession */ (updateGameSession) => 
  {
      Debug.Log("GameLift.OnUpdateGameSession");
      ...
  },
  ...

And here is my log, which shows that the callback does not occur:

GameLift.InitSDK : [OK]
GameLift.ProcessReady : [OK]

GameLift.OnStartGameSession
GameSessionId: arn:aws:gamelift:us-east-1::gamesession/fleet-b1f406e6-b182-4d31-a536-73f9ad716204/ff54bb58-aeb5-4217-a40c-ab183d44a70a
Name: CTF
FleetId: b1f406e6-b182-4d31-a536-73f9ad716204
MaximumPlayerSessionCount: 10
Port: 7777
IpAddress: 54.210.18.208
GameSessionData:
MatchmakerData: {"matchId":"ff54bb58-aeb5-4217-a40c-ab183d44a70a","matchmakingConfigurationArn":"arn:aws:gamelift:us-east-1:088391510376:matchmakingconfiguration/CTF","teams":[{"name":"team1","players":[{"playerId":"18446744072977024007","attributes":{"maxTeamSize":{"attributeType":"DOUBLE","valueAttribute":5.0},"skill":{"attributeType":"DOUBLE","valueAttribute":10.0}}},{"playerId":"2089437065","attributes":{"maxTeamSize":{"attributeType":"DOUBLE","valueAttribute":5.0},"skill":{"attributeType":"DOUBLE","valueAttribute":10.0}}}]},{"name":"team2","players":[{"playerId":"850674939","attributes":{"maxTeamSize":{"attributeType":"DOUBLE","valueAttribute":5.0},"skill":{"attributeType":"DOUBLE","valueAttribute":10.0}}},{"playerId":"18446744071699117297","attributes":{"maxTeamSize":{"attributeType":"DOUBLE","valueAttribute":5.0},"skill":{"attributeType":"DOUBLE","valueAttribute":10.0}}}]}],"autoBackfillTicketId":null}
DnsName: ec2-54-210-18-208.compute-1.amazonaws.com

GameLift.ActivateGameSession : [OK]

1 Connected
GameLift.AcceptPlayerSession : [OK]
Player 18446744072977024007 joined the game.
2 Connected
GameLift.AcceptPlayerSession : [OK]
Player 850674939 joined the game.
3 Connected
GameLift.AcceptPlayerSession : [OK]
Player 2089437065 joined the game.
4 Connected
GameLift.AcceptPlayerSession : [OK]
Player 18446744071699117297 joined the game.

4 Disconnected
GameLift.RemovePlayerSession : [OK]

Need replacement for Player: 18446744071699117297
Prepare MatchBackfill data
TicketId: 3bbcf521-b576-4b5f-8835-b13941cb8530
GameSessionArn: arn:aws:gamelift:us-east-1::gamesession/fleet-b1f406e6-b182-4d31-a536-73f9ad716204/ff54bb58-aeb5-4217-a40c-ab183d44a70a
MatchmakingConfigurationArn: arn:aws:gamelift:us-east-1:088391510376:matchmakingconfiguration/CTF
PlayerId:18446744072977024007, team:team1, ...
PlayerId:2089437065, team:team1, ...
PlayerId:850674939, team:team2, ...
GameLift.StartMatchBackfill : [OK]

!!!callback does not occur!!!

5 Connected
GameLift.AcceptPlayerSession : [OK]
Player 18446744073206607043 joined the game.

link to previous post

The team is looking at this and hopefully we will have an answer for you soon.

BTW Thanks for creating a new question.

Out of interest does your backfill ticket change status at all? Can you double check the state of the matchmaking ticket when the player connects?

OnUpdateGameSession should be called anytime the data changes in Matchmaking so its very strange that its not being called for you.

As a random thought, I wonder if players are finding game sessions ids outside of Matchmaking? May be worth looking at, but I assume your clients/services call call through StartMatchmaking etc

Yes, you correctly assumed.
On the client side, I call StartMatchmaking and retrieve the request details by calling DescribeMatchmaking.

As for the status of the backfill ticket, yes, it’s changing.

Backfill ticket before new player:

C:\Users\jurjjc>aws gamelift describe-matchmaking --ticket-ids 97add2f6-ecf6-42d3-8c26-e27795159832 --region us-east-1
{
    "TicketList": [
        {
            "TicketId": "97add2f6-ecf6-42d3-8c26-e27795159832",
            "ConfigurationName": "CTF",
            "Status": "SEARCHING",
            "StartTime": 1573201310.794,
            "Players": [
                {
                    "PlayerId": "18446744073492214962",
                    "PlayerAttributes": {
                        "maxTeamSize": {
                            "N": 2.0
                        },
                        "skill": {
                            "N": 10.0
                        }
                    },
                    "Team": "team1",
                    "LatencyInMs": {}
                },
                {
                    "PlayerId": "18446744072186370341",
                    "PlayerAttributes": {
                        "maxTeamSize": {
                            "N": 2.0
                        },
                        "skill": {
                            "N": 10.0
                        }
                    },
                    "Team": "team1",
                    "LatencyInMs": {}
                },
                {
                    "PlayerId": "1457793498",
                    "PlayerAttributes": {
                        "maxTeamSize": {
                            "N": 2.0
                        },
                        "skill": {
                            "N": 10.0
                        }
                    },
                    "Team": "team2",
                    "LatencyInMs": {}
                }
            ],
            "GameSessionConnectionInfo": {
                "GameSessionArn": "arn:aws:gamelift:us-east-1::gamesession/fleet-2af646a5-0dfa-4ee3-85c7-ea75c811e601/ab817870-1fa7-4b07-8d90-d97cc18d621f"
            }
        }
    ]
}

Backfill ticket after new player:

C:\Users\jurjjc>aws gamelift describe-matchmaking --ticket-ids 97add2f6-ecf6-42d3-8c26-e27795159832 --region us-east-1
{
    "TicketList": [
        {
            "TicketId": "97add2f6-ecf6-42d3-8c26-e27795159832",
            "ConfigurationName": "CTF",
            "Status": "COMPLETED",
            "StartTime": 1573201310.794,
            "EndTime": 1573201434.188,
            "Players": [
                {
                    "PlayerId": "18446744073492214962",
                    "PlayerAttributes": {
                        "maxTeamSize": {
                            "N": 2.0
                        },
                        "skill": {
                            "N": 10.0
                        }
                    },
                    "Team": "team1"
                },
                {
                    "PlayerId": "18446744072186370341",
                    "PlayerAttributes": {
                        "maxTeamSize": {
                            "N": 2.0
                        },
                        "skill": {
                            "N": 10.0
                        }
                    },
                    "Team": "team1"
                },
                {
                    "PlayerId": "1457793498",
                    "PlayerAttributes": {
                        "maxTeamSize": {
                            "N": 2.0
                        },
                        "skill": {
                            "N": 10.0
                        }
                    },
                    "Team": "team2"
                }
            ],
            "GameSessionConnectionInfo": {
                "GameSessionArn": "arn:aws:gamelift:us-east-1::gamesession/fleet-2af646a5-0dfa-4ee3-85c7-ea75c811e601/ab817870-1fa7-4b07-8d90-d97cc18d621f",
                "IpAddress": "52.87.201.158",
                "Port": 7777,
                "MatchedPlayerSessions": [
                    {
                        "PlayerId": "18446744073492214962",
                        "PlayerSessionId": "psess-082764da-812b-4586-a647-a5806b859410"
                    },
                    {
                        "PlayerId": "18446744072186370341",
                        "PlayerSessionId": "psess-03b4ffa6-b191-41ae-a99f-97634e483b6c"
                    },
                    {
                        "PlayerId": "1457793498",
                        "PlayerSessionId": "psess-b45fbf87-658b-4dc0-8e7b-acbc3f902fed"
                    }
                ]
            }
        }
    ]
}