I have a question about child actor component, Im using it for guns in game, and I attach it to GripPoint socket (on hand_r bone) on the player, and while testing in the standalone/listen server everything works fine but when I start playing as client the gun has a large offset (as shown on image) is there any solution to it or what I might miss or how to fix that?
I’m attaching UChildActorComponent in the constructor when creating it.
GunComponent = CreateDefaultSubobject<UChildActorComponent>(TEXT("GunComponent"));
GunComponent->SetupAttachment(Mesh1P,"GripPoint");
GunComponent->SetIsReplicated(true);