I found a solution:
For some reason UE5 doesn’t allow to bind a variable directly and you need to connect to a node. It seems to be a bug.