Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Multicast doesn't run locally on ListenServer despite tooltip saying otherwise.

Steps to reproduce

  1. Add Run on server function that prints string "RPC"

  2. Add Multicast function that prints "Multicast"

  3. Start game with multiple players in editor

  4. Observe that "Sever: Multicast" is never printed.

Product Version: Not Selected
more ▼

asked Dec 12 '14 at 10:24 PM in Bug Reports

avatar image

31 1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I found the answer here to anyone else that sees this: https://docs.unrealengine.com/latest/INT/Gameplay/Networking/Replication/RPCs/index.html

Apparently there are exceptions to the multicast RPC. I still feel the tooltip can be improved.

more ▼

answered Dec 12 '14 at 10:40 PM

avatar image

31 1 2 4

avatar image Ben Halliday STAFF Dec 16 '14 at 10:06 PM

Hey zellyman,

This works as expected for me. What was the exception that you ran into? In what way would you improve the tooltip?

avatar image zellyman Dec 17 '14 at 03:15 AM

It says that all the clients and the server runs this locally. It makes no mention that if a client (vs. the server) runs this node that it executes on, and only on, the calling client.

The tooltip would have you believe that no matter the caller it runs on every machine.

I'm sorry when I say exception I don't mean it in the programming sense, I'm referring to the part under "Requirements and Caveats" in the link in my post where it says "Multicast RPCs are an exception:"

avatar image Ben Halliday STAFF Dec 17 '14 at 09:52 PM

Ah, I see what you meant. The tooltip for Multicast currently states, "Replicate this event from the server to everyone else. Server executes this event locally too. Only call this from the server." Is there something you'd like to see in that tooltip specifically that might clarify its use better?

avatar image zellyman Dec 19 '14 at 04:18 AM

For starters, the "Only call this from the server" probably needs to go. There's a lot of use for a function call that has this behavior, and people might not realize it because the tooltip scares them away.

Maybe something like, "If called from a client, runs on the calling client only. If called from server this executes locally on server and is replicated to all clients."

avatar image Ben Halliday STAFF Dec 19 '14 at 06:50 PM

Thanks for the feedback! I will create a request report for the developers to consider and let you know if I see an update.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question