Why doesn't this change the blackboard key value?

It remains unchanged from the default value during testing for some reason.

a couple things to checkā€¦did you verify you assigned the correct value in the behavior tree task itself? for example, with the task node selected in the behavior tree, what are your blackboard keys set to look at in the details panel? in terms of your print checking, did you try printing the value in the array returned to see if a valid value was found before attempting to assign to blackboard key?