Hey there, it seems that we can’t get the real scale of a child scene component during parent actor construction script right ? is it a bug ?
In the screenshot below I’m trying to get the scale of the child component (a static mesh) named “Backdrop” when the construction script of his parent actor is run. The issue appears when I change the scale of the child component “Backdrop” into the level, bringing this value from 500 to 700. But it return always 500, from the CDO I guess.
Sorry If I’m saying wrong, but try to set [1, 1, 1] for the parent actor (MyBP) and the child component (StaticMesh) into the blueprint, then set [2, 2, 2] for the child component (StaticMesh) into the level directly (not into the blueprint himself). Keep the parent actor at [1, 1, 1] into the level. You should get [1, 1, 1] whereas it’s not representing the real user modified state of the child component into the level.
Yes you got the point, it required to change the child component scale into the level and have the rollback arrow that say “the current scale differs from the CDO”.
I would have hoped not to add a property just for the scale, it’s a bit ridiculous, everyone puts one everywhere, it complicates the understanding of blueprints especially if it’s just to work around a bug that hasn’t never been reported or corrected? There is something for it, it should work as expected right ?
Yes you’re totally right, and I figured out that it has been reported not only for scale but for the whole map instance reference of the child during construction script. And it won’t be fixed.