4 Errors I don't understand

Hello, my programm doesn’t build. These 4 Errors are shown:
Two Errors are in german so I translated it:


C4840: not portable usage of class “FString” as argument f?r a variadic function
MSB3075 The command “E:\UE_4.20\Engine…Development “E:\repos…\BuildingEscape.uproject” -WaitMutex -FromMsBuild” was closed with code 5. Make sure that you are allowed to execute.

Thank You!

I had the same mistakes. The problem was that, by mistake, I used GetOwner()->GetFName() instead of GetName(). So the code should be
FString ObjectName = GetOwner()->GetName();
or
FString ObjectName = GetOwner()->GetFName().ToString();

Privacy & Terms