Client Replicates but Server wont?

Hello all! So I am having an issue where I am trying to make an object “BP_Shield1” scale up or down with the push of a button. Currently the action works correctly on each players screen, however when the server performs the action, the client can NOT see the servers shield scale, but when the client uses the action, the server CAN see the clients shield…

I’m new to replication so any help is appreciated! Thanks in advance!

291513-5.png

I don’t see a place to edit my post, so I am making a comment (Sorry if it is the wrong thing to do!)

I just noticed that when I have “Run Dedicated Server” on, both Player1 and Player2 work fine…

Bump? Please? I feel like I’m still missing something simple…

Well never mind I guess… I have found a question that no one has an answer to… Thank you community!

I’m new to replication aswell but all I can think of is maybe you had the client spawn the character. I think if it is spawned on the client that would mean the client is the authority and not the server.

Drag a link after the first node in your server rpc to the beginning node of your multicast - just to see what happens: eg: scaleShieldUp-Server->scaleShieldUp-Multi->>setWorldScale3D

and please add some printstrings to see if the server executes the events (in the printstring the first thing is where it is executed, eg “server: your output foo”, “client1: your output foo”

I will be trying this today! I did have some print strings set up, but I had taken them out. Thanks man!

Hmmm… I’m not sure if a client even can spawn anything without the servers permission however you have made me wonder how exactly UE is handling spawning multiplayer… Going to look into this too! Thanks!

yes a client can spawn things which live only in his world. think about the hud or a widget :wink:

So it seems something is weird with my computer… After scratching my head on this one for a while, I moved this project to a different computer, used that as server, and my laptop as client and it works fine.

If my laptop is server and desktop client, it doesnt work… Im confused but , whatever…