Client's pawn movement/input not being send to host/server

My client’s pawn movement/input is not being send to the host/server. On the client’s window the client’s pawn and the host’s pawn both can move. On the host’s window only the host’s pawn can move.

Hi Zeldhoron,

Is your pawn using a CharacterMovementComponent? This is how the character in many of the project templates sends its movement to the server, and it has a lot of built-in functionality to handle movement over a network, such as prediction and correction - so it’s a good place to start if it fits the needs of your project.

For a client to send data to the server, it has to call a Run on Server event (or a Server RPC in C++). The CharacterMovementComponent has implemented RPCs in C++ to handle sending the client’s movement to the server, and for the server to send corrections to the client.

If you’re not using a movement component that supports networking, you’ll probably need to add some custom Run on Server events to send the client’s movement to the server.

I have tried using a custom event with “run on server” set but any client axis input is dis regarded…

I am currently having this issue too. Client input is being disregarded/not being sent to the pawn.

This is my setup and it seems to work for now, but i think that this is pretty bad workaround :stuck_out_tongue: http://i.imgur.com/2qYazTZ.png