# Interface function replication

**URL:** <https://forums.unrealengine.com/t/interface-function-replication/315041>\
**Category:** UI\
**Tags:** interface, Networking, Replication, bug, unreal-engine, question, Blueprint\
**Created:** [April 14, 2015, 4:31pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041 "2015-04-14T16:31:04Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [April 14, 2015, 4:31pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/1 "2015-04-14T16:31:04Z")

</div>

In a related question [server-only-function-replication-does-not-fire](https://answers.unrealengine.com/questions/205039/47-server-only-function-replication-does-not-fire.html) I came across what seemed to be a straightforward task and that was to ensure that my objects could be easily reused. Because they are network capable they needed to run through player controller but also had to account for different player controllers. To best encapsulate them, I used an interface to determine what controllers could click on items. Though this could not replicate because server only replication was not available on interface events.

Is there a reason for interfaces not being able to have server only events? documentations says they should be able to.

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [April 17, 2015, 4:47pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/2 "2015-04-17T16:47:24Z")

</div>

Any additional insight into this would be beneficial. Currently, work around is to have all networked functions copied in player controller. interface function just calls a second function directly next to it. This seems unnecessary. Any thoughts?

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [April 21, 2015, 4:38pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/3 "2015-04-21T16:38:20Z")

</div>

Almost a week and no comment so far as to if it’s documentation that needs updating because this functionality was removed from interfaces or if it is not in yet. @Steve Allison maybe you can address this? I’ve seen you comment on interface questions in past.

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [April 29, 2015, 2:23pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/4 "2015-04-29T14:23:11Z")

</div>

I don’t usually bump posts, but when I do I wait a week 😉

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [May 6, 2015, 11:05pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/5 "2015-05-06T23:05:28Z")

</div>

I just checked 4.8 preview 1 and I don’t see a interface replication option. Can I get a reply (any reply) to this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6c2a996b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6c2a996b](https://forums.unrealengine.com/u/anonymous_user_6c2a996b)\
**Post date:** [May 7, 2015, 4:36pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/6 "2015-05-07T16:36:07Z")

</div>

I just want to echo that I’ve run into this as well, and so have a LOT of other people. See also: [https://answers.unrealengine.com/questions/224340/bug476-interface-functions-cannot-be-replicated.html](https://answers.unrealengine.com/questions/224340/bug476-interface-functions-cannot-be-replicated.html)

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [May 7, 2015, 6:08pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/7 "2015-05-07T18:08:17Z")

</div>

I was starting to think that no one could see my post given that I am only one who has posted in it for over 3 weeks now. @BenHalliday. You are always around to help (thanks). Can you point us in right direction of who to ask.

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [May 12, 2015, 5:35pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/8 "2015-05-12T17:35:40Z")

</div>

I refuse to allow this to be marked complete due to inactivity when there are so many people with same problem so I’ll just keep adding comments every 4 days or so until end of time. Or until we get a proper answer 🙂

---

<div class="post-metadata">

**Author:** ![\_cDub](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_cDub](https://forums.unrealengine.com/u/_cDub)\
**Post date:** [May 13, 2015, 3:30am UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/9 "2015-05-13T03:30:05Z")

</div>

Clearing this up would be nice. I looked at docs and tried to find replication option everywhere. If it is there, it must be default. If not it looks like we will have to make a custom replicated event on each blueprint that is fired by interface. Kind of clunky though.

---

<div class="post-metadata">

**Author:** ![TheMunky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheMunky](https://forums.unrealengine.com/u/TheMunky)\
**Post date:** [May 13, 2015, 11:37am UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/10 "2015-05-13T11:37:49Z")

</div>

Having same issue, I just can’t get Action interfaces to replicate, no matter how I try and no matter how many times I make posts, I never get an answer.

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [May 13, 2015, 3:05pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/11 "2015-05-13T15:05:35Z")

</div>

Well we are basically at a month of updating this thread so hopefully Epic will read it now that more people are replying to it. Some sort of “We are looking into it” or “This functionality was removed because…” would go a very long way.

---

<div class="post-metadata">

**Author:** ![\_cDub](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_cDub](https://forums.unrealengine.com/u/_cDub)\
**Post date:** [May 13, 2015, 5:47pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/12 "2015-05-13T17:47:24Z")

</div>

I played around with some things and easiest way to do it is to pass your target actor (one that has an interface implemented) to a multicast custom event. On same blueprint call that event and pass it into interface. It will replicate just fine and you will not have to worry about setting up custom events in each object if you put that multicast in whatever blueprint is calling interface (i.e. your character). I have this setup in my own project and it works nicely. Every BP that receives an interface call from this character will automatically be replicated. (Be sure to mark your receiving actor as replicated 😛 )

\*\*Be sure that one who is calling multicast has authority.\*\*With my project there were some issues with server being only one that could make changes to clients without it.

 ![42555-screenshot+2015-05-13+13.41.35.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/0/4d04eb255fdd4ef35a2acdc9b2ba753c00ef40e7.png)

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [May 13, 2015, 6:37pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/13 "2015-05-13T18:37:45Z")

</div>

Multicast replicates from server to client and while that might work for some things it only works on objects that exist on server. If you are having a client side effect that is trying to replicate a request up to server then this technique should not work.

---

<div class="post-metadata">

**Author:** ![\_cDub](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_cDub](https://forums.unrealengine.com/u/_cDub)\
**Post date:** [May 13, 2015, 9:10pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/14 "2015-05-13T21:10:32Z")

</div>

Can you give an example of what would do with it?

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [May 13, 2015, 11:33pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/15 "2015-05-13T23:33:35Z")

</div>

I assume you mean an example of what would be a client side function that we want to replicate to server where object only exists on client and not on server.

If you spawn in an item on a client and not server (instanced loot perhaps) then any multicast events called on that object will be treated as if it where only on client.

Say a item that drops revives nearby enemies (a trap) enemies would only revive on client as multicast revive function would not run on server.

> **[Networking Overview](https://docs.unrealengine.com/5.1/en-US/networking-overview-for-unreal-engine/)**
>
> Setting up networked games for multiplayer.

---

<div class="post-metadata">

**Author:** ![\_cDub](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_cDub](https://forums.unrealengine.com/u/_cDub)\
**Post date:** [May 14, 2015, 4:36am UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/16 "2015-05-14T04:36:23Z")

</div>

I guess something you could do is have sever tell clients that it is okay to spawn something on their own with some randomization on what that item is, but that would mean ask clients would be spawning their own. If you wanted to control specific clients spawning items you would probably have to keep a list of connected clients. Unfortunately I haven’t gotten that far in my project. Examples of that are very hard to find if non existent.

---

<div class="post-metadata">

**Author:** ![TheMunky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheMunky](https://forums.unrealengine.com/u/TheMunky)\
**Post date:** [May 20, 2015, 1:12pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/17 "2015-05-20T13:12:21Z")

</div>

Yeah, i’m still not seeing any progress on this issue, there are work arounds but action interface’s would save so much time and effort if we could just get them to work…

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [May 21, 2015, 1:53pm UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/18 "2015-05-21T13:53:28Z")

</div>

Hey Epic, It’s been another week since I last posted. Please let us know you can read this thread.

---

<div class="post-metadata">

**Author:** ![JoeWintergreen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joewintergreen/32/1194565_2.png) [@JoeWintergreen](https://forums.unrealengine.com/u/JoeWintergreen)\
**Post date:** [May 29, 2015, 2:20am UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/19 "2015-05-29T02:20:55Z")

</div>

I too could benefit from an answer to this

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [June 1, 2015, 5:13am UTC](https://forums.unrealengine.com/t/interface-function-replication/315041/20 "2015-06-01T05:13:18Z")

</div>

Day 44. Still no word from epic regarding this. Starting to think it will simply never happen. And this isn’t even bring a post back from dead. There has been discussion and people talking for that long.

[Next page](https://forums.unrealengine.com/t/interface-function-replication/315041.md?page=2)
