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!
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”
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!
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…