Inheritance from c++



PrintString function in beginplay event print 0.0- default value. In tick event - it shows -500 (right result). Why? Why Parent:BeginPlay have no effect?

Solved with Super::BeginPlay() in the end of c++ BeginPlay function.