I have been setting up a network multiplayer project following advice from this video:
It’s an older version of UE4 so some things have been adapted.
I am able to connect the client to the host and see the two characters appear together, which is great!
I have some issues, though, which don’t appear to be addressed in the video or in a related search.
As a way of debugging I made it so that you can customse the colour of your character through changing a material instance before logging into the session.
So:
Host can see host colour change
Host can see client color change
Client cannot see either colour change
Host can move.
Client can see host movement
Client cannot move
Initially I thought that the client simply isn’t posessing the pawn, but if that were the case the client would still be able to see the host color change. it’s strange, because the client can see the host movement but not the host color change.
Overall, it’s odd to me.
I have set everything thing the player character to replicate (i.e. the actor itself, the mesh, movement component, etc.)
All variables are replicated and a server side process triggers a local (in player controller) update of things like materials.
It’s interesting that the host can see this happen on the client side by seeing the client’s character change color, but the client cannot even see their own character’s color change.
Any advice on how to continue troubleshooting this would be appreciated.