Ok, I tried a few more things to narrow this down.
– I removed all nodes from my BT and tried. Crash.
– I removed all Variables from my blackboard and retried. Crash. (So Blackboard json is “{“_name”:null,”_variables”:{}}”)
– I disabled the BTOwner component and tried. Crash.
– I disabled the GameObject where my BTOwner and Blackboard component are on. Crash.
– I removed the BTOwner component, leaving only the Blackboard component and reenabled the GameObject. Crash.
I set breakpoints in Blackboard component and followed the code through. Starting in Blackboard.OnAfterDeserialize through to the function fsMetaType.CreateInstance for the type “NodeCanvas.Framework.Internal.BlackboardSource”.
The ExecutionEngineException occurs on line 293 of the fsMetaType class in the code: