gazuntype / graphQL-client-unity

This repository houses a unitypackage that can be included in your Unity Project to enable it communicate with a graphQL server.
Apache License 2.0
292 stars 49 forks source link

Fixed NullReferenceException from JsonConvert.DeserializeObject #27

Closed Chefty closed 3 years ago

Chefty commented 3 years ago

Based on issue #6 I still had the same error in Unity 2019.4.16f1 so after further investigation, I changed the SchemaClass object into a serializable one. It fixed the problem.