Begin Play won't fire?

Hi.

I made a blueprint deriving from a c++ class.
I try to add a new widget variable when begin play fires, but it doesn’t.

Here is the BP:

when the game starts, it doesn’t print “Hello”…

the code for begin play in the C++ class:


    Super::BeginPlay();
    
    	gameStatePtr = (AVikingKingGameState*)(GetWorld()->GetGameState());
    	gameModePtr = (AVikingKingGameMode*)GetWorld()->GetAuthGameMode();

UE4 is binary, ver: 4.7.6-2513093

Resolved, I was missing Super:BeginPlay(); at one of my BeginPlay() functions.