possibly caused by conversion from a Single or a Double to a Decimal, the source value is infinity, Not-a-Number (NaN), or too large to be represented as the destination typ
Because I don’t know how to debug in Unity, I used lots of “print” to help with the debug. The value for the specific buddy I tested are:
buddyID is 16,
buddyName is “Frank”
all other buddy properties are empty or default value.
So I really don’t understand why there is this cast problem. If you look at the Buddy class in SmartFox document, it is really simple and has no double or float data types in it. What else can cause this problem?