Tick in UBTTaskNode?

I know that in blueprint version of the node, there is Event Receive Tick, but I can’t find it for cpp. Is there a way to run code when tick is received in cpp?

The function you are looking for is called TickTask, but I dunno why is not firing in my code :frowning:

I found the solution here: Custom BT Tasks not ticking - AI - Unreal Engine Forums

Basically you mut override ExecuteTask too and make it return EBTNodeResult::InProgress;