diff --git a/Source/RWTHVRToolkit/Private/Pawn/RWTHVRPawn.cpp b/Source/RWTHVRToolkit/Private/Pawn/RWTHVRPawn.cpp index 812e83ea74b96709e72b7768dbbd5d90bc041f52..f6f9f1c01e9cb475c0ae7975b2a412bf0302ee2a 100644 --- a/Source/RWTHVRToolkit/Private/Pawn/RWTHVRPawn.cpp +++ b/Source/RWTHVRToolkit/Private/Pawn/RWTHVRPawn.cpp @@ -84,6 +84,12 @@ void ARWTHVRPawn::NotifyControllerChanged() AttachClustertoPawn(); } } + else + { + UE_LOGFMT(Toolkit, Warning, + "ARWTHVRPawn: PlayerState is not a subclass of ARWTHVRPlayerState. Cluster attachment only works " + "with correct PlayerStates!"); + } } }