None of the variables are working on the client but are working on the listen server?

I’ve been trying to get basic multiplayer set up for my game. But for some reason the variables I use for jumping and other movement related stuff isn’t working on the client. While all of the variable work on the listen server, it would be greatly appreciated if some could help understand why this is happening. As well as offer a solution to my problem, thanks.

Well… when it comes to multiplayer you have to know - it’s way more advanced than default game creation (not discouraging you!)

It has its own rules, you should watch some videos about how it works to understand it first

I played around with MP myself but still for me it’s black magic :man_shrugging:

Anyway - here’s an example on the difference between Single Player and MultiPlayer movement setup:

Movement over Network - for Pawns that have Character Movement Component

This has to be put into PlayerController because the Pawn cannot communicate with the Server unlike the Controller

Just so you know - you’ll spend some time figuring it out :grin: but that’s how we all get experience

Additionally here’s a video of my choice for Multiplayer info - it was very useful and informative!

1 Like