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

Forums 💬 NodeCanvas ⚙️ 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

#15979
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! 🙂