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

Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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

Genus001Genus001 Posts: 1Member
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.