Blackboard key doesn't get set

I am following the basic tutorial for AI at https://docs.unrealengine.com/5.0/en-US/behavior-tree-in-unreal-engine—quick-start-guide/. I have a problem with setting the HasLineOfSight key (I called it InSight) of the blackboard, as you can see from the image the EnemyActor get set correctly but the InSight key stays “false”.

Here is how I set the key in Enemy_Controller:

Make sure the Key Name is spelled correctly (it shouldn’t have spaces).

I checked, they are the same, even if in the blueprint its reference is shown with a space.

1 Like

Thank you, I am dumb, I though that I was setting the value with “Variable Name”.