Hello I am wondering if you could help me understand what the issue is for my FindDuel call the functionresult appears golden in postman but when i deserialize it in unity it ios giving me a null reference error
JsonWrapper.DeserializeObject<List<DuelEnemy>>(result.FunctionResult.ToString());
the function result returns 3 objects which should deserialize into a DuelEnemyList accordingly.
public class DuelEnemy { public string CharacterID; public string KeeperName; public int Health; public int Power; public int Temper; public int Cultivation; public string damagetype; public InventoryCategory inventory; public List<string> EnemyDuelDeck; }
have any suggestions to try and troubleshoot this - the reference error goes back to simpleJSON.cs file which im not positive what the issue is there...perhaps it cant translate something into an object? not everything returned I need for instance there is some data about VCs that isnt used - will that cause issues if there is no variable in the DuelEnemy class?
thanks again a billion times over for all your guys' help!