Object of type 'System.SByte' cannot be converted to type 'System.Byte

I have been working on this game project for around 3 months now. It has been going great, except for this one error that doesn't make much sense.

Here is the code: http://pastebin.com/FExjqdKk

The error is on line 655(655 with full code), which contains this:

((FieldInfo)m_bind.m_Member).SetValue(obj, value);

Where is the byte in this error?

Here is a picture of the full error in my console: http://i.min.us/int7yi.png

If you can give an example of how to fix this error, it would be greatly appreciated.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!