Call blueprint Construction Script on default object

So, basically, I want to call this function in cpp on an instance received through TSubclassOf.GetDefaultObject()
obraz

I’ve tried to call it like

Instance->OnConstruction(Instance->GetTransform());

but to no avail, the array is empty. I cannot edit it directly in blueprint defaults, because it’s TArray of a custom struct.

I’ve found a workaround - I’ve copied this code into a Blueprint Native Event and call it on every default object. I hope there’s an easier way to do it, though.

Call Instance->UserConstructionScript() instead, OnConstruction is a different, native event.