After updating the services.core package to 1.10.1 I get exceptions like this:
[ServicesCore]: Exception occurred when fetching service flags:
System.NotImplementedException: The method or operation is not implemented.
at Unity.Services.Core.Environments.Client.Http.JsonObjectCollectionConverter.CanConvert (System.Type objectType) [0x00001] in .\Packages\com.unity.services.core@1.10.1\Editor\Core\Environments\Client\Http\JsonObjectConverter.cs:142
at Newtonsoft.Json.JsonSerializer.GetMatchingConverter (System.Collections.Generic.IList1[T] converters, System.Type objectType) [0x0000f] in <761cf2a144514d2291a678c334d49e9b>:0 at Newtonsoft.Json.JsonSerializer.GetMatchingConverter (System.Type type) [0x00000] in <761cf2a144514d2291a678c334d49e9b>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.GetConverter (Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.JsonConverter memberConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x0005a] in <761cf2a144514d2291a678c334d49e9b>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <761cf2a144514d2291a678c334d49e9b>:0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <761cf2a144514d2291a678c334d49e9b>:0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <761cf2a144514d2291a678c334d49e9b>:0 at Newtonsoft.Json.Linq.JToken.ToObject (System.Type objectType, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00034] in <761cf2a144514d2291a678c334d49e9b>:0 at Newtonsoft.Json.Linq.JToken.ToObject (System.Type objectType) [0x002ff] in <761cf2a144514d2291a678c334d49e9b>:0 at Newtonsoft.Json.Linq.JToken.ToObject[T] () [0x00000] in <761cf2a144514d2291a678c334d49e9b>:0 at Unity.Services.Core.Editor.ServiceFlagRequest.ExtractServiceFlagsFromUnityWebRequest (UnityEngine.Networking.UnityWebRequest unityWebRequest) [0x00025] in .\Packages\com.unity.services.core@1.10.1\Editor\Core\ProjectStateManagement\ServiceFlagRequest.cs:89 UnityEngine.Logger:LogError (string,object) Unity.Services.Core.Internal.CoreLogger:LogError (object) (at ./Packages/com.unity.services.core@1.10.1/Runtime/Core.Internal/Logging/CoreLogger.cs:16) Unity.Services.Core.Editor.ServiceFlagRequest:ExtractServiceFlagsFromUnityWebRequest (UnityEngine.Networking.UnityWebRequest) (at ./Packages/com.unity.services.core@1.10.1/Editor/Core/ProjectStateManagement/ServiceFlagRequest.cs:93) Unity.Services.Core.Editor.ServiceFlagRequest:OnFetchServiceFlagsCompleted (UnityEngine.Networking.UnityWebRequest,Unity.Services.Core.Internal.AsyncOperation1<System.Collections.Generic.IDictionary`2<string, bool>>) (at ./Packages/com.unity.services.core@1.10.1/Editor/Core/ProjectStateManagement/ServiceFlagRequest.cs:66)
Unity.Services.Core.Editor.ServiceFlagRequest/<>c__DisplayClass4_1:b__0 (UnityEngine.AsyncOperation) (at ./Packages/com.unity.services.core@1.10.1/Editor/Core/ProjectStateManagement/ServiceFlagRequest.cs:54)
UnityEngine.AsyncOperation:InvokeCompletionEvent ()
I also get the Not Implemented Exception in my custom code, when I call JsonConvert.DeserliazeObject
I don’t get the errors in clean project with only the packages installed.
When I edit the package and replace the exception-throw with “return false” everything seams to work like before.
