Using child actor component in c++ gives a few problems

I’m using 4.15.2 and I’m having a similar issue.