Begin play and Tick do not work for bluerint class inherited from C++ class

The problem is that the begin play and tick functions do not work in the blueprint inherited from the C++ class.
If blueprint is not inherited from a C++ class, then the functions work perfectly.

Functions declaration in C++ parent class:
image

Child BP:
image


Nothing appears on startup

I will be thankful for any help. =)

Hi OMEGA8715,

Make sure in the derived BeginPlay and Tick C++ methods that you’re calling “Super::BeginPlay()” and “Super::Tick()”.

Hi RecourseDesign,

image

image

Parent begin play and tick are also called, alas, this does not affect the error =(

That should work - I don’t use anything special around those methods and they still get called from Blueprint in my projects.

What is your C++ class SubClassed from?

Thanks for trying to help! The problem was that the base C++ class, from which the APocketDrill class is inherited, did not contain a call to the Super method in BeginPlay.
Now all is clear.

2 Likes