Reply To: Preferred Types get wiped when there's lots of code changes

NodeCanvas Forums Support Preferred Types get wiped when there's lots of code changes Reply To: Preferred Types get wiped when there's lots of code changes

#15630
Gavalakis
Keymaster

Hello there and thank you for the thorough post.

Indeed; because NodeCanvas is in a different assembly (due to asmdef use), apparently it is loaded before “Assembly-CSharp” and as such LoadTypes is also called before like you explain. I’ve looked a bit into this and your fix is actually fine, however only the following code is really needed.

Regarding ReflectionTools FlushMem, I think it would be better to add the following attribute on FlushMem instead:

Thank you! 🙂

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