diff --git a/Source/RWTHVRCluster/Public/Events/DisplayClusterEventWrapper.h b/Source/RWTHVRCluster/Public/Events/DisplayClusterEventWrapper.h
index ae07015dc124f264fce6e5574ec90c4b68c289d0..0a2c71fa215c054c0928887d9f25f7933c0824e3 100644
--- a/Source/RWTHVRCluster/Public/Events/DisplayClusterEventWrapper.h
+++ b/Source/RWTHVRCluster/Public/Events/DisplayClusterEventWrapper.h
@@ -24,9 +24,14 @@ public:
void Attach(ObjectType* NewObject)
{
+
+ UE_LOG(LogTemp, Warning, TEXT("[DisplayClusterEventWrapper] Attach()."))
+
checkf(Object == nullptr, TEXT("The event is already attached."));
Object = NewObject;
ObjectId = Object->GetUniqueID();
+
+ UE_LOG(LogTemp, Warning, TEXT("[DisplayClusterEventWrapper] Object UniqueID: %d."), ObjectId)
EDisplayClusterOperationMode OperationMode = IDisplayCluster::Get().GetOperationMode();
if (OperationMode == EDisplayClusterOperationMode::Cluster)
@@ -51,6 +56,7 @@ public:
if (EventObjectId != ObjectId)
{
// Event does not belong to this object.
+ UE_LOG(LogTemp, Warning, TEXT("[DisplayClusterEventWrapper] Event does not belong to this object %d vs %d (this object)."), EventObjectId, ObjectId)
return;
}
@@ -60,6 +66,7 @@ public:
if (EventMethodName != MethodName)
{
// This event does not belong to this method.
+ UE_LOG(LogTemp, Warning, TEXT("[DisplayClusterEventWrapper] This event does not belong to this method. %s vs %s (this object)."), *EventMethodName, *MethodName)
return;
}