I want to record RPCs (for things like step sounds) in my replays. The RPC is called correctly while playing and recording, but not when watching the replay.
The RPC function is currently defined as such:
UFUNCTION(NetMulticast, Reliable)
void OnStepRPC();
...
void AMyCharacter::OnStepRPC_Implementation()
{
OnStep(); // Plays the sound
}
Elsewhere I call OnStepRPC once in a while to create the sounds.
I tried all combinations of Client/Server/NetMulticast & Reliable/Unreliable, but nothing seems to get recorded (using “demorec mydemo / demostop” & “demoplay mydemo”). Am I missing something here?