I have a Box Collision component on my pawn to keep track of how many outside actors are inside it (through a Blackboard value owned by that pawns AI). I add 1 when something begins overlapping and subtract 1 when something leaves.
But I couldn’t get OnBeginOverlap to work so I finally plugged both events into the same tree;
OnEndOverlap works without issue but OnBegin works some ticks while others it throws the following error message;
Error Accessed None 'CallFunc_GetBlackboard_ReturnValue2' from node MyFunction in blueprint MyBlueprint.
What gives?