#Backfill ticket
1 messages · Page 1 of 1 (latest)
Looks like match properties only needs teams and player list
https://docs.unity.com/ugs/en-us/manual/matchmaker/manual/advanced-topics-backfill#Create_a_backfill_ticket
Oh hangon, you forgot to CreateBackfillTicketAsync()
i have create ticket in the start() , in coroutine i have approval of tickets() , but i just dont know how to add teams exactly and how to add players exactly, I only know how to get ulong client ID, but idk how to access client string ID as shown in this doc ...
Is there any function that will get me this highlighted string??
as I said everything works, I just have problem updating the players itself, team is only one since its FFA
That is the player id you get when you log in with Authentication. You should get them from the original match properties.
hmm, but isnt it the thing that I have to update backfillticket with a new player that is not from original match properties ? once new one is connected? thats what I wonder ...
i want to find his client ID as this string, and there are only ulong getters from network manager and other singletons
If a new player joined then you can get the player ID from the backfill ticket they used to join
can you just tell me how? Idk which function to use, i rly dont understand this part of docs xd
which function do i use?
When you call approve backfill ticket you will get a backfill ticket returned. That ticket will have match properties containing the new players who just joined
https://docs.unity.com/ugs/en-us/packages/com.unity.services.matchmaker/1.0/api/Unity.Services.Matchmaker.IMatchmakerService#Unity_Services_Matchmaker_IMatchmakerService_ApproveBackfillTicketAsync_System_String_
okey let me check this soon
uff okay thx it worked ...
Do you know maybe why doesn't webGl work with built in multiplayer in unity? (their own solution that I am currently using , this matchmaker, their own hosting, etc etc)
It should work. You need to use Unity Transport 2.0+ and then check Use Web sockets.