Variable is valid in parent but not valid in child blueprint

Hey

I have a blueprint class that is a child of another. The parent class has a variable of another blueprint type and initializes the variable in its begin-play method.
The child class calls the parent:beginplay function and then when accessing the variable from the parent reads it as null. I’m using print string to make sure that the variables are set correctly and it seem to be. After initializing it the variable is valid while running the parent code but invalid in the child. What can I possibly be doing wrong? Why can’t I access a parent class variable from the child?

From in the parent:

From the child:

On play
image

Aren’t child classes supposed to access parent’s members that aren’t private?

A delayuntilnexttick after calling the parent:beginplay seems to have done the trick, but I don’t understand why it doesn’t work without it since technically it’s the same instance calling both codes in th ecorrect order.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.