Behavior tree blackboard decorator, Invalid counts as "Is Set"

If the value of a key in the blackboard is not set (Invalid) it seems to pass the “Is Set” decorator and not the “Is Not Set” decorator. Seems like it should be the other way around?

Branch: Binary

Build: 4.1.1

Steps: Create a blackboard with a Vector key. Create a behavior tree with a selector and two tasks. Decorate one task with BlackBoard Is Set and one with BlackBoard Is Not Set, both using the same key. The tree will flow down the Is Set branch every time. You can also break and see “TargetPoint: (Invalid) (pass)” on the Is Set decorator.

Thanks

I recall there was a bug in comparing vector BB values to “invalid location” but it has been fixed. I can’t really find the CL#, but I’m pretty sure it’s fixed in 4.2. Let me know if it’s not!

Cheers,

–mieszko