# Recording RPCs in Replay?

**URL:** <https://forums.unrealengine.com/t/recording-rpcs-in-replay/2067643>\
**Category:** Programming & Scripting\
**Tags:** replay-system, rpc, replay, unreal-engine, CPP, question\
**Created:** [October 14, 2024, 8:45am UTC](https://forums.unrealengine.com/t/recording-rpcs-in-replay/2067643 "2024-10-14T08:45:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlaik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tlaik](https://forums.unrealengine.com/u/tlaik)\
**Post date:** [October 14, 2024, 8:45am UTC](https://forums.unrealengine.com/t/recording-rpcs-in-replay/2067643/1 "2024-10-14T08:45:52Z")

</div>

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:

```auto
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?
