Difference between GetDefaultSubobjects and GetDefaultSubobjectByName?

Might not be relevant but here is some more info:

I’m using this in the Pawn class.
In both cases I get inside the **If **statement… It just seem that setting the properties and calling SetSkeletalMesh does not do anything.