Capturing Actor overlapping not working

Hi everybody,
I’m a new to UE4,
I’m following video tutorials on programming C++ with UE4,
And I can’t seem to get anything with capturing Actor Objects overlapping to work.

I doesn’t work for me here’ in the Battery Collector tutorial:
https://www.youtube.com/watch?v=WSF2WJJ3ljc&index=10&list=PLZlv_N0_O1gYup-gvJtMsgJqnEB_dGiM4
The “GetOverlappingActors” doesn’t produce results,
This is the code:


TArray<AActor*> CollectedActors;
CollectionSphere->GetOverlappingActors(CollectedActors);

And it also doesn’t work for me in another tutprial:
https://www.youtube.com/watch?v=O47Zw94K-5k&list=WL&index=81
Code:


tBox->bGenerateOverlapEvents = true;
tBox->OnComponentBeginOverlap.AddDynamic(this, &AMyActor::TriggerEnter);

Any Ideas why?
I tried both tutorials in UE 4.10 and in UE 4.11

Thanks for any reply,
Oded