diff --git a/Source/StudyFrameworkPlugin/Private/SFGameInstance.cpp b/Source/StudyFrameworkPlugin/Private/SFGameInstance.cpp index cd15145a398f025fdb35145b156a8e327df53314..dd5dc3cbe413139ca5fafce5b1fc578267ace5c5 100644 --- a/Source/StudyFrameworkPlugin/Private/SFGameInstance.cpp +++ b/Source/StudyFrameworkPlugin/Private/SFGameInstance.cpp @@ -302,6 +302,10 @@ void USFGameInstance::PrepareWithStudySetup(ASFStudySetup* Setup) { FSFUtils::OpenMessageBox("Participant ID \"" + IDGiven + "\"was already used, you have to choose another one!"); } + else if (IDGiven.IsEmpty()) + { + FSFUtils::OpenMessageBox("Participant ID given is empty, you have to choose one!"); + } else { ParticipantID = IDGiven;