Reply To: Inheritance and binding

NodeCanvas Forums Support Inheritance and binding Reply To: Inheritance and binding

#12361
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.

Join us on Discord: https://discord.gg/97q2Rjh