I’m getting this error on “matchplaylog.log” on server. I also tried to download code from your git.
Pls, help me
P.s. I’m the same on Udemy so you can anser only here as well
1. Config had AllocationID: df7a63b3-8e7f-4c98-b0e2-8cb2a20fa5cc
2. OnAllocation: df7a63b3-8e7f-4c98-b0e2-8cb2a20fa5cc
3. Failed to deserialize response Data[{"MatchProperties":{"Teams":[{"TeamName":"My Team","TeamID":"b99f7b95-21fb-46a3-89b9-7c646f4c8ea1","PlayerIDs":["iz6zcxAkOosUny9cHbK2D60Hee3g"]},{"TeamName":"My Team","TeamID":"23971c06-5b94-448c-b2cd-a621bf6cf2bb","PlayerIDs":["q2C9Fg9PVNvu6F6OZswqb5WavByS"]}],"Players":[{"Id":"iz6zcxAkOosUny9cHbK2D60Hee3g","CustomData":{"map":0,"gameMode":0,"gameQueue":1},"QosResults":[]},{"Id":"q2C9Fg9PVNvu6F6OZswqb5WavByS","CustomData":{"map":0,"gameMode":0,"gameQueue":1},"QosResults":[]}],"Region":"3e4e42f2-ebbf-4ae8-ad70-15cc42eead15","BackfillTicketId":"233a193b-e741-4429-adb9-dc6cb03dc65d"},"GeneratorName":"Team Match","QueueName":"team-queue","PoolName":"team-pool","EnvironmentId":"18005c08-a5c4-402b-a272-75f0a50a53e3","BackfillTicketId":"233a193b-e741-4429-adb9-dc6cb03dc65d","MatchId":"7268722d-e804-486c-bd98-c843963f3c7b","PoolId":"fbdd5a76-616f-4a04-a247-55975f123bb0"}]!
4. System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: {. Path '', line 1, position 1.) ---> Unity.Services.Multiplay.Http.ResponseDeserializationException: Unexpected character encountered while parsing value: {. Path '', line 1, position 1. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path '', line 1, position 1.
5. at Newtonsoft.Json.JsonTextReader.ReadStringValue (Newtonsoft.Json.ReadType readType) [0x002d8] in <29e3dfd7379d434ca9881f8263fe42fe>:0
6. at Newtonsoft.Json.JsonTextReader.ReadAsString () [0x00000] in <29e3dfd7379d434ca9881f8263fe42fe>:0
7. at Newtonsoft.Json.JsonReader.ReadForType (Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x000c2] in <29e3dfd7379d434ca9881f8263fe42fe>:0
8. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <29e3dfd7379d434ca9881f8263fe42fe>:0
9. at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <29e3dfd7379d434ca9881f8263fe42fe>:0
10. at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <29e3dfd7379d434ca9881f8263fe42fe>:0
11. at Unity.Services.Multiplay.Http.IsolatedJsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x00013] in <e7324534bd914b33a345aa730925aa94>:0
12. at Unity.Services.Multiplay.Http.IsolatedJsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <e7324534bd914b33a345aa730925aa94>:0
13. at Unity.Services.Multiplay.Http.ResponseHandler.TryDeserializeResponse[T] (Unity.Services.Multiplay.Http.HttpClientResponse response) [0x0001f] in <e7324534bd914b33a345aa730925aa94>:0
14. --- End of inner exception stack trace ---
15. at Unity.Services.Multiplay.Http.ResponseHandler.TryDeserializeResponse[T] (Unity.Services.Multiplay.Http.HttpClientResponse response) [0x00036] in <e7324534bd914b33a345aa730925aa94>:0
16. at Unity.Services.Multiplay.Http.ResponseHandler.HandleAsyncResponse[T] (Unity.Services.Multiplay.Http.HttpClientResponse response, System.Collections.Generic.Dictionary`2[TKey,TValue] statusCodeToTypeMap) [0x00091] in <e7324534bd914b33a345aa730925aa94>:0
17. at Unity.Services.Multiplay.Apis.Payload.PayloadApiClient.PayloadAllocationAsync (Unity.Services.Multiplay.Payload.PayloadAllocationRequest request, Unity.Services.Multiplay.Configuration operationConfiguration) [0x0011f] in <e7324534bd914b33a345aa730925aa94>:0
18. at Unity.Services.Multiplay.Internal.WrappedMultiplayService.GetPayloadAllocationAsPlainText () [0x000d3] in <e7324534bd914b33a345aa730925aa94>:0
19. at Unity.Services.Multiplay.Internal.WrappedMultiplayService.GetPayloadAllocationFromJsonAs[TPayload] (System.Boolean throwOnMissingMembers) [0x00065] in <e7324534bd914b33a345aa730925aa94>:0
20. at MultiplayAllocationService.GetMatchmakerAllocationPayloadAsync () [0x00060] in <600cc5c97b0649ab9ac0030eb1514fc8>:0
21. at MultiplayAllocationService.SubscribeAndAwaitMatchmakerAllocation () [0x0017c] in <600cc5c97b0649ab9ac0030eb1514fc8>:0
22. --- End of inner exception stack trace ---
23. at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <090b30d88ac24aada464a414e0810bf4>:0
24. at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <090b30d88ac24aada464a414e0810bf4>:0
25. at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <090b30d88ac24aada464a414e0810bf4>:0
26. at ServerGameManager.GetMatchmakerPayload () [0x0009d] in <600cc5c97b0649ab9ac0030eb1514fc8>:0
27. at ServerGameManager.StartGameServerAsync () [0x000da] in <600cc5c97b0649ab9ac0030eb1514fc8>:0
28. ---> (Inner Exception #0) Unity.Services.Multiplay.Http.ResponseDeserializationException: Unexpected character encountered while parsing value: {. Path '', line 1, position 1. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path '', line 1, position 1.
29. at Newtonsoft.Json.JsonTextReader.ReadStringValue (Newtonsoft.Json.ReadType readType) [0x002d8] in <29e3dfd7379d434ca9881f8263fe42fe>:0
30. at Newtonsoft.Json.JsonTextReader.ReadAsString () [0x00000] in <29e3dfd7379d434ca9881f8263fe42fe>:0
31. at Newtonsoft.Json.JsonReader.ReadForType (Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x000c2] in <29e3dfd7379d434ca9881f8263fe42fe>:0
32. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <29e3dfd7379d434ca9881f8263fe42fe>:0
33. at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <29e3dfd7379d434ca9881f8263fe42fe>:0
34. at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <29e3dfd7379d434ca9881f8263fe42fe>:0
35. at Unity.Services.Multiplay.Http.IsolatedJsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x00013] in <e7324534bd914b33a345aa730925aa94>:0
36. at Unity.Services.Multiplay.Http.IsolatedJsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <e7324534bd914b33a345aa730925aa94>:0
37. at Unity.Services.Multiplay.Http.ResponseHandler.TryDeserializeResponse[T] (Unity.Services.Multiplay.Http.HttpClientResponse response) [0x0001f] in <e7324534bd914b33a345aa730925aa94>:0
38. --- End of inner exception stack trace ---
39. at Unity.Services.Multiplay.Http.ResponseHandler.TryDeserializeResponse[T] (Unity.Services.Multiplay.Http.HttpClientResponse response) [0x00036] in <e7324534bd914b33a345aa730925aa94>:0
40. at Unity.Services.Multiplay.Http.ResponseHandler.HandleAsyncResponse[T] (Unity.Services.Multiplay.Http.HttpClientResponse response, System.Collections.Generic.Dictionary`2[TKey,TValue] statusCodeToTypeMap) [0x00091] in <e7324534bd914b33a345aa730925aa94>:0
41. at Unity.Services.Multiplay.Apis.Payload.PayloadApiClient.PayloadAllocationAsync (Unity.Services.Multiplay.Payload.PayloadAllocationRequest request, Unity.Services.Multiplay.Configuration operationConfiguration) [0x0011f] in <e7324534bd914b33a345aa730925aa94>:0
42. at Unity.Services.Multiplay.Internal.WrappedMultiplayService.GetPayloadAllocationAsPlainText () [0x000d3] in <e7324534bd914b33a345aa730925aa94>:0
43. at Unity.Services.Multiplay.Internal.WrappedMultiplayService.GetPayloadAllocationFromJsonAs[TPayload] (System.Boolean throwOnMissingMembers) [0x00065] in <e7324534bd914b33a345aa730925aa94>:0
44. at MultiplayAllocationService.GetMatchmakerAllocationPayloadAsync () [0x00060] in <600cc5c97b0649ab9ac0030eb1514fc8>:0
45. at MultiplayAllocationService.SubscribeAndAwaitMatchmakerAllocation () [0x0017c] in <600cc5c97b0649ab9ac0030eb1514fc8>:0 <---