Hello,
I'm also currently having the same kind of error after upgrading my project to 2019.1 and switching to .Net 4 with the most recent Behavior Designer version. I'm loading my behavior trees at runtime using external behavior.
NullReferenceException: Object reference not set to an instance...