Hello, I am currently building a 2D game in Unreal Engine 4.27.2 and I am trying to retrofit my couch coop game with replication to allow online multiplayer. I have it to where multiple players on different networks/computers can connect to the same lobby over Steam. The Server Host works just fine 100% as intended. But the client doesn’t seem to be replicating anything back to the server. Here is how it looks:
The server/host/listen server is the screen on the right and is the blue player. The connected client is the screen on the left and is the red player.
Currently, I am solely working on just getting one thing to work at a time so that I can adjust the rest of the game to use replication properly. I’m focusing on the aiming system that uses the player’s mouse cursor position to rotate their head towards it’s coordinates, like so:
So I guess my question is: what the heck is going on? I’m still new to replication overall but with all the random stuff I tried throwing at the wall to see if it’d stick, I would have thought SOMETHING would have worked. I tried reworking my setup to work more like what this guy has at 7:20
But I feel like I’m just completely missing something. What are the most common causes of this issue? Any/all help would be much appreciated. Thank you!