diff --git a/Source/WidgetInteraction/Private/WidgetInteraction.cpp b/Source/WidgetInteraction/Private/WidgetInteraction.cpp index e32861755bd47259851e0ac05fd23382b4716c7c..40b70e8f572f4ba9481a28f58b869a44fc6cf0c6 100644 --- a/Source/WidgetInteraction/Private/WidgetInteraction.cpp +++ b/Source/WidgetInteraction/Private/WidgetInteraction.cpp @@ -71,7 +71,7 @@ void FWidgetInteractionModule::OnWorldTickStart(ELevelTick level_tick, float val else { //if this is a cluster setup we attach it to the flystick name = TEXT("flystick"); - component_class = UMotionControllerComponent::StaticClass(); + component_class = UDisplayClusterSceneComponent::StaticClass(); } auto parent_vec = vr_pawn->GetComponentsByClass(component_class); @@ -85,7 +85,7 @@ void FWidgetInteractionModule::OnWorldTickStart(ELevelTick level_tick, float val } if (!success) - UE_LOG(LogTemp, Error, TEXT("Failed to load widget asset \"%s"), *name); + UE_LOG(LogTemp, Error, TEXT("Failed to load widget asset \"%s\", cannot attach widget interaction component"), *name); } }