I’m having some issues with JsonUtility.FromJson. For some reason, whenever I try to parse an unsigned long int with a value of ‘0’, it spits out some value around 89 million.
This is what I’m putting into JsonUtility:
{"charId":"2","entityName":"wod","entityLevel":"1","path":"0","sex":"female","exp":"0","zenny":"0","maxVita":"1","maxMana":"1","might":"1","will":"1","grace":"1","grit":"1","zeal":"1","sleight":"1","statPoints":"0","karma":"0","nation":"0"}
And this is what I get out:
All of the values which are showing up as 88.95 million are supposed to be zero. But, unlike the other zeros in the raw text, these zeros are being stuck into ulongs. So I’m assuming that JsonUtility just hates ulongs, which isn’t awesome, but what can I do to work around this? Or am I making some error?