Skip to content
Snippets Groups Projects
Commit 05b66039 authored by David Gilbert's avatar David Gilbert :bug:
Browse files

fix(pawn, cave): Only add Sync component if it doesn't already exist.

parent fca68602
No related branches found
No related tags found
1 merge request!107UE5.4-2024.1-rc1
Pipeline #489113 passed
......@@ -249,7 +249,7 @@ void ARWTHVRPawn::MulticastAddDCSyncComponent_Implementation()
// for some reason acts different on the nodes, therefore leading to a potential desync when
// e.g. colliding with an object while moving.
if (URWTHVRUtilities::IsRoomMountedMode())
if (URWTHVRUtilities::IsRoomMountedMode() && !SyncComponent)
{
SyncComponent = Cast<USceneComponent>(AddComponentByClass(
UDisplayClusterSceneComponentSyncParent::StaticClass(), false, FTransform::Identity, false));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment