Hi, we're trying to use the C# GSDK in Unity. We can call the GameserverSDK fine, however it fails when trying to deserialize the configuration file (either using SDK.Start() or SDK.getConfigSettings()).
Here is the error described:
Cannot read configuration file C:\PATH\gsdkConfig.json ---> Newtonsoft.Json.JsonSerializationException: Unable to find a constructor to use for type Microsoft.Playfab.Gaming.GSDK.CSharp.JsonFileConfiguration+JsonSchema. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonConstructor attribute. Path 'heartbeatEndpoint', line 2, position 22.
We've tried using both JSON.NET.Unity3d and Newtonsoft.Json with a NuGet manager for Unity, however the issue seems to lie inside the SDK itself.
Has anyone had any experience with this issue?
Thanks!