Download

Confusing attachment replication

Hello, I’ve been working on replicating attachment and found this strange code:

In USceneComponent::PostRepNotifies, we have replicated NetOldAttachParent and NetOldAttachSocketName, But FAttachmentTransformRules::KeepRelativeTransform is hardcoded. This causes the problem cause i’m using FAttachmentTransformRules::**SnapToTargetNotIncludingScale
**on my server and because of it I will need to override PostRepNotifies or do something else, but why the attachment rule was hardcoded? Is it a bug?