Reply To: Inheritance and binding

Forums 💬 NodeCanvas ⚙️ Support Inheritance and binding Reply To: Inheritance and binding

#17828
Gavalakis
Keymaster

    Hello and sorry for the late reply due to summer vacation.

    This is a unintended behavior that I wasn’t aware of. Thanks for reporting this problem.
    To fix this quickly, please open up ReflectionTools.cs file, fine and replace method RTCreateDelegate with the following code:

    The difference here is that if re-fetch the method type from the true type of the instance if any before creating the delegate and as such, the delegate will correctly call the child method/property from there-on.

    Please let me know if making this change also works for you.

    Thanks again for the error report.