# Multicast not called in replays

**URL:** <https://forums.unrealengine.com/t/multicast-not-called-in-replays/381362>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [January 9, 2017, 6:44pm UTC](https://forums.unrealengine.com/t/multicast-not-called-in-replays/381362 "2017-01-09T18:44:07Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Answers.Archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Answers.Archive](https://forums.unrealengine.com/u/Answers.Archive)\
**Post date:** [January 9, 2017, 6:44pm UTC](https://forums.unrealengine.com/t/multicast-not-called-in-replays/381362/3 "2017-01-09T18:44:11Z")

</div>

Thanks for your tip !

ProcessRemoteFunction wasn’t called at all, because GetNetDriver is, I think, not correctly implemented, at least in the 4.12 branch.

Previous code:

```
UNetDriver* AActor::GetNetDriver() const
{
	UWorld *World = GetWorld();
	if (NetDriverName == NAME_GameNetDriver)
	{
		return (World ? World->GetNetDriver() : nullptr);
	}

	return GEngine->FindNamedNetDriver(World, NetDriverName);
}

```

I changed it to:

```
UNetDriver* AActor::GetNetDriver() const
{
	UWorld *World = GetWorld();
	if (NetDriverName == NAME_GameNetDriver)
	{
		return (World ? World->DemoNetDriver : nullptr); //<<-this
	}

	return GEngine->FindNamedNetDriver(World, NetDriverName);
}

```

And now it works fine.

Thanks a lot.

---

_[View the full topic](https://forums.unrealengine.com/t/multicast-not-called-in-replays/381362)._
