Turns out I think it was a problem with printing the string?
It works if i use UKismetSystemLibrary::PrintString