For some reason, JsonUtility.ToJson() is returning " { } " every time no matter what I pass it.
tested not working example:
var foo:String = "bar";
print(JsonUtility.ToJson(foo));
this always returns "{ }".
any idea why this is happening?
↧