How to replicate the variable declared in under the struct?

Great you never know with internet people :slight_smile:

It’s hard to tell without seeing how the items are attached but I think that is where your issue is.

Try adding some checks to make sure only the Server is doing the attaching – something like if(HasAuthority()=false){return;)

This will ensure it’s only the sever characters setting the mesh.

Also, logging what is getting attached would be helpful for this as well.

EX:

if(SkeletalMesh)
{
    UE_LOG(LogTemp,Warning,TEXT("SM name = %s",*SkeletalMesh->GetName()))
}
else
    UE_LOG(LogTemp,Warning,TEXT("SM is null))
}
2 Likes