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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Actor doesn't replicate on Client

Hey guys,

in the first person character blueprint, I create an actor when the user presses the left button. I set all the variables to "Replicated" but still, the actor doesnt't spawn in Client.

I also set the Actor itself to "Replicates" and "Net load on Client", same problem.

What am I missing here?

alt text

alt text

Product Version: UE 4.11
actorspawn.png (202.4 kB)
actor_details.png (42.0 kB)
more ▼

asked May 31 '16 at 04:23 PM in Blueprint Scripting

avatar image

7 4 4 5

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

1 answer: sort voted first

This is using the First person template and on the Projectile blueprint i set it to replicate. always keep in mind, only server can replicate to other clients, so you have to tell the server to execute the spawn process if you need it to be shown to everyone.

alt text

untitled.jpg (460.5 kB)
more ▼

answered May 31 '16 at 08:40 PM

avatar image

813 22 11 46

avatar image Cosma_One May 31 '16 at 10:09 PM

Thank you for your answer. This is what I tried. The ball still doesn't show on the server. It is created in the client but the server doesn't know it! alt text

alt text

spawn_event.png (364.6 kB)
balls.png (1.8 MB)
avatar image jblaswu May 31 '16 at 10:35 PM

nonono, BallSpawn does not replicate on all, check my screenshot, its only Replicate on Server remember this: clients dont replicate to all, only server, but if the Blueprint already has "replicate" checked, all you need to do is tell the server to run the spawn, he will execute it and the ball will autoreplicate to all (if called from server)

avatar image Cosma_One May 31 '16 at 10:52 PM

I tried this. Now the ball won't even spawn in client. Server is replicating to client, but client doesn't replicate on server. alt text

avatar image jblaswu May 31 '16 at 11:01 PM

try using a similar setup as mine where you pass the coords through the event and the ball is checked on replicate

avatar image Cosma_One May 31 '16 at 11:07 PM

FINALLY! I did it. It turns out, I must pass all the needed variables as parameters to the custom event. Thanks for your help. I'm grateful to you.

(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