Reposted because I meant to put this in bug reports but only did the tag last time not the section
In my PlayerState I have the following:
.h
UFUNCTION(Server, Reliable, WithValidation) void playerJoined(FString playerNameSent);
.cpp
void AMyPlayerState::playerJoined_Implementation(FString playerNameSent) {
//
}
bool AMyPlayerState::playerJoined_Validate(FString playerNameSent) {
return true;
//
}
When I compile I get the following error:
Severity Code Description Project File Line Suppression State
Error MSB3075 The command ""C:\Program Files\Epic Games\UE_4.18\Engine\Build\BatchFiles\Build.bat" AudioPartyEditor Win64 Development "C:\Users\Shawn\Documents\Unreal Projects\AudioParty\AudioParty.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command. AudioParty C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 41
After banging my head against the wall looking for typos I found if I change the type from FString to int32 or even FName then it compiles fine. FString seems to have issues.