[Mono-dev] WCF in Mono client borking negative numbers

LukasTaves lukastaves at gmail.com
Mon Jun 24 18:25:53 UTC 2013


I have a Unity3D client that communicates with a local service through WCF.
The service is duplex and all communication is in place and working, however
some negative numbers get borked when received.

Bellow is a list that shows subsequent received single precision numbers.
The stream was increasing 0.5 per second.

-131.5
-131
-130.5
-130
-129.5
-129
-128.5
128
-127.5
129
-126.5
130
-125.5

And so on... It seems that for some numbers instead of receiving the actual
negative number they get added by 255.

It's not an issue with the service itself, because connecting to the same
service using a .net client works flawlessly...

Is this a known issue with WCF in mono? Any hint on what i can do to get
around that?

Thank you!





--
View this message in context: http://mono.1490590.n4.nabble.com/WCF-in-Mono-client-borking-negative-numbers-tp4660022.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list