Strange problem...
The client is not able to typecast data sent which is supposed to be double and disconnects.
For example, the server sends x = 23.0D as a double.
But when it arrives at the client, x = 23.
Now when you say, double x = (double)data["x"];
The client says JsonData does not hold a double and disconnects. I hope I am clear.
Help!!!!!
Thank you.
JsonData does not hold a double.
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Return to “.Net / Unity3D API”
Who is online
Users browsing this forum: No registered users and 26 guests