hello I have a replicated function but it has many errors with LNK
Are you compiling from Visual Studio or from within the Editor.
Try compiling from within the editor.
You forgot the reliable keyword within the macro
UFUNCTION(Server, Reliable, WithValidation)
First things first, don’t include
UnrealNetwork.h in your header file. Also please remove
Engine.h from your header file and replace it with
Second thing, the correct line is
WithValidation is no longer required unless you want to specifially return false. So just ommit it.
In your cpp file, add
and remove the
This is new in later engines (the non-requirement for WithValidation) and i see you are using 4.24.