Description

Attempting to compare a blackboard key type using an equals node always returns false.

In the setup in the attached project, there is a task that contains a public Blackboard Key Selector variable. This variable is then set to an Object key in the Behavior Tree, and is compared using an equals node to the base BlackboardKeyType_Object class. This is always returning false, even though the key is an Object type.

Steps to Reproduce

1. Open the attached project
2. PIE

Result: Notice that "False" is being printed to the screen, indicating that the Selected Blackboard Key Type is not an Object type.

Expected: It would return True because the Selected Blackboard Key Type is an Object key, and it is being compared to an Object key.

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

0
Login to Vote

Fixed
ComponentGameplay - AI
Affects Versions4.114.124.13
Target Fix4.13
Fix Commit3044855
Main Commit3058682
CreatedJun 24, 2016
ResolvedJul 11, 2016
UpdatedMay 2, 2018