Hi all,
Having a bit of a headache trying to figure this out, hoping someone can help!
I’m trying to set up a connection locally (this pc, to this pc), and also have tried connecting this pc → locally networked pc.
Initially, the connection is okay. The client can connect, and can move around in the environment no problem. This is replicated on the host machine with no issues. However, the host moves around in the scene and this is not replicated on the client.
There have also been issues with being able to connect, briefly. Shortly after, the client will disconnect with the error ‘Connection timed out’ (this does not happen when connecting via 127.0.0.1 as expected). No transform data is received in this period, and neither player moving is replicated on any other machine.
Extra info : this is using a direct connection using StartHost() on the host, and StartClient() on the clients. No matchmaking.
I am only overriding the OnServerAddPlayer function, as I am changing the spawn location and rotation of the players in game.
If you need any extra info, let me know. If not, thanks in advance!