It just says the overloaded function can’t be found, which is a very standard error, which is why its so confusing.
#Epic Please Address This
This error just got me again for awhile
“Overloaded function not found” is very non-specific!
#In beta it was great!
“Can’t pass parameters by reference in network functions” or something like that
#Escalation Requested
Tim, please escalate this to whomever can fix it.
Thanks!
Rama
PS: I’d give you the exact error, but its very standard, and my compile times are quite long now, its just the regular overloaded function can’t be found error
#Repro
It’s easy to reproduce, just add this parameter to any server function
The error you talk about is still emitted, but it’s specifically for when you pass a non-const reference (e.g. I just added a FName& to AQAPawn::ServerEquipWeapon):
QAPawn.h(328): error : In QAPawn: Replicated FName parameters cannot be passed by non-const reference
The passing-by-const-reference shouldn’t be an error at all… this is a code generation bug. I’ll file a bug report for it.