child actor component change variables

I am a bit confused; if I do this:

With no Begin Play or Construction Script, the value of the Child Actor changes correctly. I’m doing it in 4.27. Is this not working in UE5?

This also works if you assign the value on Begin Play. But… The CAC will initialise the debugChild from the template, with defaults. The int will be 0 initially, only to be set by the owner’s (debug) Begin Play after the debug child is instantiated:

If this is done in the CS:

It also works (which I did not know about until now since it did not before 4.22 or thereabout)

In the last case, the CAC’s actor actually spawns with 22.

If the above does not work in UE5 - it’s either a bug or the new feature.


What I would really like the CACs to do in BP is to give me an instance of the template here:

image

There is a great post somewhere in the Knowledge Database on the way the CAC’s are used in Fortnite - they were supposed to be developed further but it never happened.