Can't add skeletal mesh to USkeletelMeshComponent

The Actor needs a USkeletalMeshComponent. To set the skeletal mesh of that component you have to call the function SetSkeletalMesh and pass your USkeletalMesh, which is the actual mesh asset.